graph-toolkit
Preparing search index...
paths/src
dijkstra
Function dijkstra
dijkstra
(
graph
:
Graph
,
source
:
VertexId
)
:
ShortestPathTree
Dijkstra, $O((V + E) \log V)$. Throws
GraphError
on negative weights.
Parameters
graph
:
Graph
source
:
VertexId
Returns
ShortestPathTree
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
graph-toolkit
Loading...
Dijkstra, $O((V + E) \log V)$. Throws GraphError on negative weights.