Representation of a shortest path forest.
Modulefgl-5.8.2.0Haskell98
Data.Graph.Inductive.Query.GVD
Graph Voronoi Diagram
These functions can be used to create a shortest path forest where the roots are specified.
- 2 types
- 6 values
- Packagefgl-5.8.2.0
- Exports8
- LanguageHaskell98
- LicenceBSD-3-Clause
- SourceGVD.hs
Produce a shortest path forest (the roots of which are those nodes specified) from nodes in the graph to one of the root nodes (if possible).
Produce a shortest path forest (the roots of which are those nodes specified) from nodes in the graph from one of the root nodes (if possible).
Return the nodes reachable to/from (depending on how the Voronoi was constructed) from the specified root node (if the specified node is not one of the root nodes of the shortest path forest, an empty list will be returned).
Try to determine the nearest root node to the one specified in the shortest path forest.
The distance to the nearestNode (if there is one) in the shortest path forest.
Try to construct a path to/from a specified node to one of the root nodes of the shortest path forest.