C'est ça!

Algorithme général: http://fr.wikipedia.org/wiki/Algorithme_de_Dijkstra