V
- Vertices typeE
- Edges typepublic class Separators<V,E> extends Algorithms<V,E>
Constructor and Description |
---|
Separators() |
Modifier and Type | Method and Description |
---|---|
java.util.Set<java.util.Set<V>> |
getABSeparators(edu.uci.ics.jung.graph.Graph<V,E> g,
V a,
V b)
Returns the set of minimal ab-separator between vertices a and b in O(n^3) per separator.
|
java.util.Set<java.util.Set<V>> |
getAllMinimalSeparators(edu.uci.ics.jung.graph.Graph<V,E> g)
Return all the minimal separators of G.
|
getEdgeFactory, getGraphFactory, getVertexFactory, setEdgeFactoy, setGraphFactoy, setVertexFactoy
public java.util.Set<java.util.Set<V>> getABSeparators(edu.uci.ics.jung.graph.Graph<V,E> g, V a, V b)
g
- grapha
- vertex ab
- vertex b