Est-ce que cette discussion pourrait t'aider ?

http://www.developpez.net/forums/d647090/autres-langages/algorithmes/mathematiques/parcours-chemins-graphe/

;)