Returns ((edgeWeight) => ((start) => ((graph) => W[])))
The shortest distances by vertices.
- (edgeWeight): ((start) => ((graph) => W[]))
Parameters
edgeWeight: ((edge) => W)
Returns ((start) => ((graph) => W[]))
- (start): ((graph) => W[])
Returns ((graph) => W[])
Calculates the shortest distances by vertices in Dijkstra's method.