New shortest path functions (Dijkstra algorithm).