Source: http://master-info.univ-lyon1.fr/TIW/documents/TIW-REX-Entr.pdf