Functions

[Generic] Dijkstra’s shortest path algorithm.