static ShortestPathSingleSource.Builder |
ShortestPathSingleSource.newBuilder() |
Create a new single source shortest path algorithm builder.
|
ShortestPathSingleSource.Builder |
ShortestPathSingleSource.Builder.setCardinality(boolean cardinalityWeight) |
Enable/disable the support for cardinality shortest paths only.
|
ShortestPathSingleSource.Builder |
ShortestPathSingleSource.Builder.setDag(boolean dagGraphs) |
Enable/disable the support for directed acyclic graphs (DAG) only.
|
ShortestPathSingleSource.Builder |
ShortestPathSingleSource.Builder.setIntWeights(boolean enable) |
Enable/disable integer weights.
|
ShortestPathSingleSource.Builder |
ShortestPathSingleSource.Builder.setMaxDistance(double maxDistance) |
Set the maximum distance that should be supported.
|
ShortestPathSingleSource.Builder |
ShortestPathSingleSource.Builder.setNegativeWeights(boolean enable) |
Enable/disable the support for negative numbers.
|