AlgorithmsGraphExtension<V, E> extension
- on
-
- Graph<
V, E>
- Graph<
Methods
-
allShortestPaths(
{num edgeCost(V source, V target)?, StorageStrategy< V> ? vertexStrategy}) → FloydWarshall<V> -
Available on Graph<
Computes all shortest paths between all pairs of vertices in a graph.V, E> , provided by the AlgorithmsGraphExtension extension -
findCliques(
{StorageStrategy< V> ? vertexStrategy}) → Iterable<Set< V> > -
Available on Graph<
Returns the maximal cliques in this undirected graph. The implementation uses the Bron–Kerbosch algorithm and runs in exponential time.V, E> , provided by the AlgorithmsGraphExtension extension -
maxFlow(
{num edgeCapacity(V source, V target)?, StorageStrategy< V> ? vertexStrategy}) → DinicMaxFlow<V> -
Available on Graph<
Returns an object that can compute the maximum flow between different vertices of this graph using the Dinic max flow algorithm.V, E> , provided by the AlgorithmsGraphExtension extension -
minCut(
{num edgeWeight(V source, V target)?, StorageStrategy< V> ? vertexStrategy}) → StoerWagnerMinCut<V, E> -
Available on Graph<
Returns an object that computes the min-cut using the Stoer-Wagner algorithm.V, E> , provided by the AlgorithmsGraphExtension extension -
shortestPath(
V source, V target, {num edgeCost(V source, V target)?, num costEstimate(V vertex)?, bool includeAlternativePaths = false, bool hasNegativeEdges = false, StorageStrategy< V> ? vertexStrategy}) → Path<V, num> ? -
Available on Graph<
Performs a search for the shortest path betweenV, E> , provided by the AlgorithmsGraphExtension extensionsource
andtarget
. -
shortestPathAll(
V source, {Predicate1< V> ? targetPredicate, num edgeCost(V source, V target)?, num costEstimate(V target)?, bool includeAlternativePaths = false, bool hasNegativeEdges = false, StorageStrategy<V> ? vertexStrategy}) → Iterable<Path< V, num> > -
Available on Graph<
Performs a search for the shortest paths starting atV, E> , provided by the AlgorithmsGraphExtension extensionsource
. -
spanningTree(
{V? startVertex, num edgeWeight(V source, V target)?, Comparator< num> ? weightComparator, StorageStrategy<V> ? vertexStrategy}) → Graph<V, E> -
Available on Graph<
Returns the spanning tree of the graph.V, E> , provided by the AlgorithmsGraphExtension extension -
stronglyConnected(
{StorageStrategy< V> ? vertexStrategy}) → Iterable<Set< V> > -
Available on Graph<
Returns the strongly connected components in this directed graph. The implementation uses the Tarjan's algorithm and runs in linear time.V, E> , provided by the AlgorithmsGraphExtension extension