Source: https://perso.liris.cnrs.fr/karim.sehaba/Reseaux/CMs-Reseaux.pdf