fgl-5.5.1.0: Martin Erwig's Functional Graph Library
Data.Graph.Inductive.Query.SP
Synopsis
spTree :: (Graph gr, Real b) => Node -> gr a b -> LRTree b Source
spLength :: (Graph gr, Real b) => Node -> Node -> gr a b -> b Source
sp :: (Graph gr, Real b) => Node -> Node -> gr a b -> Path Source
dijkstra :: (Graph gr, Real b) => Heap b (LPath b) -> gr a b -> LRTree b Source
Implementation of Dijkstra's shortest path algorithm