Uses of Interface
com.jgalgo.alg.shortestpath.ShortestPathSingleSource.Builder
Package
Description
Algorithms for finding paths in graphs, such as shortest paths, iterating over all simple paths between two vertices,
computing the Voronoi cells given a set of sites, ect.
-
Uses of ShortestPathSingleSource.Builder in com.jgalgo.alg.shortestpath
Modifier and TypeMethodDescriptionShortestPathSingleSource.builder()
Create a new single source shortest path algorithm builder.ShortestPathSingleSource.Builder.cardinality
(boolean cardinalityWeight) Enable/disable the support for cardinality shortest paths only.ShortestPathSingleSource.Builder.dag
(boolean dagGraphs) Enable/disable the support for directed acyclic graphs (DAG) only.ShortestPathSingleSource.Builder.integerWeights
(boolean enable) Enable/disable integer weights.ShortestPathSingleSource.Builder.maxDistance
(double maxDistance) Set the maximum distance that should be supported.ShortestPathSingleSource.Builder.negativeWeights
(boolean enable) Enable/disable the support for negative numbers.