Class MinimumVertexCutStEdgeCut
- All Implemented Interfaces:
MinimumVertexCutSt
An auxiliary graph is constructed from the original graph G=(V,E) by replacing each vertex v with two
vertices v0 and v1 connected with an edge (v0,v1), and each edge e=(u,v) with an edge with either
one or two edges. If the original graph is directed, then the edge (u,v) is replaced with the edge (u1,v0).
If the original graph is undirected, then the edge (u,v) is replaced with the edges (u1,v0) and
(v1,u0). The edges connecting the vertices v0 and v1 are weighted with the weight of the vertex v
in the original graph. The edges connecting the vertices u1 and v0 are weighted with a large enough weight
such that the minimum edge-cut in the auxiliary graph will not contain any of these edges. The minimum edge-cut in
the auxiliary graph is computed using the MinimumEdgeCutSt
algorithm. The minimum vertex-cut in the original
graph is the set of vertices corresponding to the edges in the minimum edge-cut in the auxiliary graph.
- Author:
- Barak Ugav
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.jgalgo.alg.connect.MinimumVertexCutStAbstract
computeMinimumCut
-
Constructor Details
-
MinimumVertexCutStEdgeCut
public MinimumVertexCutStEdgeCut()Create a new instance of the algorithm.Please prefer using
MinimumVertexCutSt.newInstance()
to get a default implementation for theMinimumVertexCutSt
interface.
-