Source: https://www.i3s.unice.fr/~sassatelli/coursT3_2013.pdf