V
- the graph vertex typeE
- the graph edge typepublic interface MultiObjectiveShortestPathAlgorithm<V,E>
Modifier and Type | Interface and Description |
---|---|
static interface |
MultiObjectiveShortestPathAlgorithm.MultiObjectiveSingleSourcePaths<V,E>
A set of paths starting from a single source vertex.
|
Modifier and Type | Method and Description |
---|---|
MultiObjectiveShortestPathAlgorithm.MultiObjectiveSingleSourcePaths<V,E> |
getPaths(V source)
Compute all shortest paths starting from a single source vertex.
|
List<GraphPath<V,E>> |
getPaths(V source,
V sink)
Get a shortest path from a source vertex to a sink vertex.
|
List<GraphPath<V,E>> getPaths(V source, V sink)
source
- the source vertexsink
- the target vertexMultiObjectiveShortestPathAlgorithm.MultiObjectiveSingleSourcePaths<V,E> getPaths(V source)
source
- the source vertexCopyright © 2018. All rights reserved.