default <V,E> List<VertexBiPartition<V,E>> |
MinimumEdgeCutAllST.allMinimumCuts(Graph<V,E> g,
WeightFunction<E> w,
V source,
V sink) |
Compute all the minimum edge-cuts in a graph between two terminal vertices.
|
default <V,E> List<Set<V>> |
MinimumVertexCutAllGlobal.allMinimumCuts(Graph<V,E> g,
WeightFunction<V> w) |
Find all the minimum vertex-cuts in a graph.
|
default <V,E> List<Set<V>> |
MinimumVertexCutAllST.allMinimumCuts(Graph<V,E> g,
WeightFunction<V> w,
V source,
V sink) |
Compute all the minimum vertex-cuts in a graph between two terminal vertices.
|
<V,E> ShortestPathAllPairs.Result<V,E> |
ShortestPathAllPairs.computeAllShortestPaths(Graph<V,E> g,
WeightFunction<E> w) |
Compute the shortest path between each pair of vertices in a graph.
|
<V,E> TreePathMaxima.Result<V,E> |
TreePathMaxima.computeHeaviestEdgeInTreePaths(Graph<V,E> tree,
WeightFunction<E> w,
TreePathMaxima.Queries<V,E> queries) |
Compute the heaviest edge in multiple tree paths.
|
<V,E> List<Path<V,E>> |
KShortestPathsST.computeKShortestPaths(Graph<V,E> g,
WeightFunction<E> w,
V source,
V target,
int k) |
Compute the K shortest paths from a source vertex to a target vertex.
|
<V,E> Flow<V,E> |
MaximumFlow.computeMaximumFlow(Graph<V,E> g,
WeightFunction<E> capacity,
Collection<V> sources,
Collection<V> sinks) |
Calculate the maximum flow in a network between a set of sources and a set of sinks.
|
<V,E> Flow<V,E> |
MaximumFlow.computeMaximumFlow(Graph<V,E> g,
WeightFunction<E> capacity,
V source,
V sink) |
Calculate the maximum flow in a network between a source and a sink.
|
<V,E> Matching<V,E> |
MatchingAlgo.computeMaximumMatching(Graph<V,E> g,
WeightFunction<E> w) |
Compute the maximum weighted matching of a weighted undirected graph.
|
<V,E> Matching<V,E> |
MatchingAlgo.computeMaximumPerfectMatching(Graph<V,E> g,
WeightFunction<E> w) |
Compute the maximum perfect matching of a weighted undirected graph.
|
<V,E> Flow<V,E> |
MinimumCostFlow.computeMinCostFlow(Graph<V,E> g,
WeightFunction<E> capacity,
WeightFunction<E> cost,
WeightFunction<E> lowerBound,
WeightFunction<V> supply) |
Compute the min-cost (not maximum!) flow in a network given a supply for each vertex and a lower bound for the
edges flows.
|
<V,E> Flow<V,E> |
MinimumCostFlow.computeMinCostFlow(Graph<V,E> g,
WeightFunction<E> capacity,
WeightFunction<E> cost,
WeightFunction<V> supply) |
Compute the min-cost (not maximum!) flow in a network given a supply for each vertex.
|
<V,E> Flow<V,E> |
MinimumCostFlow.computeMinCostMaxFlow(Graph<V,E> g,
WeightFunction<E> capacity,
WeightFunction<E> cost,
WeightFunction<E> lowerBound,
Collection<V> sources,
Collection<V> sinks) |
Compute the min-cost max-flow in a network between a set of sources and a set of sinks given a lower bound for
the edges flows.
|
<V,E> Flow<V,E> |
MinimumCostFlow.computeMinCostMaxFlow(Graph<V,E> g,
WeightFunction<E> capacity,
WeightFunction<E> cost,
WeightFunction<E> lowerBound,
V source,
V sink) |
Compute the min-cost max-flow in a network between a source and a sink given a lower bound for the edges flows.
|
<V,E> Flow<V,E> |
MinimumCostFlow.computeMinCostMaxFlow(Graph<V,E> g,
WeightFunction<E> capacity,
WeightFunction<E> cost,
Collection<V> sources,
Collection<V> sinks) |
Compute the min-cost max-flow in a network between a set of sources and a set of sinks.
|
<V,E> Flow<V,E> |
MinimumCostFlow.computeMinCostMaxFlow(Graph<V,E> g,
WeightFunction<E> capacity,
WeightFunction<E> cost,
V source,
V sink) |
Compute the min-cost max-flow in a network between a source and a sink.
|
<V,E> VertexBiPartition<V,E> |
MinimumEdgeCutGlobal.computeMinimumCut(Graph<V,E> g,
WeightFunction<E> w) |
Compute the global minimum edge-cut in a graph.
|
<V,E> VertexBiPartition<V,E> |
MinimumEdgeCutST.computeMinimumCut(Graph<V,E> g,
WeightFunction<E> w,
Collection<V> sources,
Collection<V> sinks) |
Compute the minimum edge-cut in a graph between two sets of vertices.
|
<V,E> VertexBiPartition<V,E> |
MinimumEdgeCutST.computeMinimumCut(Graph<V,E> g,
WeightFunction<E> w,
V source,
V sink) |
Compute the minimum edge-cut in a graph between two terminal vertices.
|
<V,E> Set<V> |
MinimumVertexCutGlobal.computeMinimumCut(Graph<V,E> g,
WeightFunction<V> w) |
Compute the global minimum vertex-cut in a graph.
|
<V,E> Set<V> |
MinimumVertexCutST.computeMinimumCut(Graph<V,E> g,
WeightFunction<V> w,
V source,
V sink) |
Compute the minimum vertex-cut in a graph between two terminal vertices.
|
<V,E> MinimumSpanningTree.Result<V,E> |
MinimumDirectedSpanningTree.computeMinimumDirectedSpanningTree(Graph<V,E> g,
WeightFunction<E> w,
V root) |
Compute a minimum directed spanning tree (MDST) in a directed graph, rooted at the given vertex.
|
default <V,E> Set<V> |
DominatingSetAlgo.computeMinimumDominationSet(Graph<V,E> g,
WeightFunction<V> w) |
Compute a minimum dominating set of the graph with respect to the in-degree + out-degree of the vertices.
|
<V,E> Set<V> |
DominatingSetAlgo.computeMinimumDominationSet(Graph<V,E> g,
WeightFunction<V> w,
EdgeDirection dominanceDirection) |
Compute a minimum dominating set of the graph with respect to the given edges direction.
|
<V,E> Set<E> |
EdgeCover.computeMinimumEdgeCover(Graph<V,E> g,
WeightFunction<E> w) |
Compute a minimum edge cover of a graph with respect to an edge weight function.
|
<V,E> Matching<V,E> |
MatchingAlgo.computeMinimumMatching(Graph<V,E> g,
WeightFunction<E> w) |
Compute the minimum weighted matching of a weighted undirected graph.
|
<V,E> Path<V,E> |
MinimumMeanCycle.computeMinimumMeanCycle(Graph<V,E> g,
WeightFunction<E> w) |
Compute the minimum mean cycle in a graph.
|
<V,E> Matching<V,E> |
MatchingAlgo.computeMinimumPerfectMatching(Graph<V,E> g,
WeightFunction<E> w) |
Compute the minimum perfect matching of a weighted undirected graph.
|
<V,E> MinimumSpanningTree.Result<V,E> |
MinimumSpanningTree.computeMinimumSpanningTree(Graph<V,E> g,
WeightFunction<E> w) |
Compute the minimum spanning tree (MST) of a given graph.
|
<V,E> Set<V> |
VertexCover.computeMinimumVertexCover(Graph<V,E> g,
WeightFunction<V> w) |
Compute a minimum vertex cover of a graph with respect to a vertex weight function.
|
<V,E> Path<V,E> |
ChinesePostman.computeShortestEdgeVisitorCircle(Graph<V,E> g,
WeightFunction<E> w) |
Compute the shortest circuit that visits all edges in the graph at least once.
|
<V,E> Path<V,E> |
ShortestPathHeuristicST.computeShortestPath(Graph<V,E> g,
WeightFunction<E> w,
V source,
V target,
ToDoubleFunction<V> vHeuristic) |
Compute the shortest path between two vertices in a graph.
|
<V,E> Path<V,E> |
ShortestPathST.computeShortestPath(Graph<V,E> g,
WeightFunction<E> w,
V source,
V target) |
Compute the shortest path from a source vertex to a target vertex.
|
<V,E> ShortestPathSingleSource.Result<V,E> |
ShortestPathSingleSource.computeShortestPaths(Graph<V,E> g,
WeightFunction<E> w,
V source) |
Compute the shortest paths from a source to any other vertex in a graph.
|
<V,E> Path<V,E> |
TspMetric.computeShortestTour(Graph<V,E> g,
WeightFunction<E> w) |
Compute the shortest tour that visit all vertices.
|
<V,E> SteinerTreeAlgo.Result<V,E> |
SteinerTreeAlgo.computeSteinerTree(Graph<V,E> g,
WeightFunction<E> w,
Collection<V> terminals) |
Compute the minimum Steiner tree of a given graph.
|
<V,E> ShortestPathAllPairs.Result<V,E> |
ShortestPathAllPairs.computeSubsetShortestPaths(Graph<V,E> g,
Collection<V> verticesSubset,
WeightFunction<E> w) |
Compute the shortest path between each pair of vertices in a given subset of the vertices of the graph.
|
<V,E> VoronoiAlgo.Result<V,E> |
VoronoiAlgo.computeVoronoiCells(Graph<V,E> g,
Collection<V> sites,
WeightFunction<E> w) |
Compute the Voronoi cells of a graph with respect to a set of sites and an edge weight function.
|
double |
Flow.getTotalCost(WeightFunction<E> cost) |
Get the total cost of the flow.
|
<V,E> Iterator<VertexBiPartition<V,E>> |
MinimumEdgeCutAllST.minimumCutsIter(Graph<V,E> g,
WeightFunction<E> w,
V source,
V sink) |
Iterate over all the minimum edge-cuts in a graph between two terminal vertices.
|
<V,E> Iterator<Set<V>> |
MinimumVertexCutAllGlobal.minimumCutsIter(Graph<V,E> g,
WeightFunction<V> w) |
Iterate over all the minimum vertex-cuts in a graph.
|
<V,E> Iterator<Set<V>> |
MinimumVertexCutAllST.minimumCutsIter(Graph<V,E> g,
WeightFunction<V> w,
V source,
V sink) |
Iterate over all the minimum vertex-cuts in a graph between two terminal vertices.
|
static <V,E> RandomWalkIter<V,E> |
RandomWalkIter.newInstance(Graph<V,E> g,
V source,
WeightFunction<E> weights) |
Create a new weighted random walk iterator.
|
static <V,E> DistanceMeasures<V,E> |
DistanceMeasures.of(Graph<V,E> g,
WeightFunction<E> w) |
Get a distance measures object of a graph.
|
static <V,E> boolean |
TreePathMaxima.verifyMST(Graph<V,E> g,
WeightFunction<E> w,
Collection<E> mstEdges,
TreePathMaxima tpmAlgo) |
Verify that the given edges actually form an MST of a graph.
|