Source: http://hal.inria.fr/docs/00/42/40/42/PDF/These_finale_Lantenois.pdf