Description Usage Arguments Value References Examples
Dijkstra Algorithm Returns the shortest path from initial vertex to other vertexes
1  | dijkstra(graph, init_node)
 | 
graph | 
 A   | 
init_node | 
 A scalar stating from which vertexes the distances are to be calculated.  | 
Returns a vector consisting of the shortest paths from the node of origin init_node to the rest of the vertexes.
https://en.wikipedia.org/wiki/Dijkstra
1 2  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.