Functions

The shortest-path algorithm by Moore-Bellman-Ford on a directed graph.
The shortest-path algorithm by Moore-Bellman-Ford on an undirected graph.