V - The vertex typepublic class SeparationPair<V extends Vertex>
extends java.lang.Object
| Constructor and Description |
|---|
SeparationPair(V a,
V b,
int type)
Creates a separation pair containing two provided vertices of the specified type
|
public V getA()
public void setA(V a)
a - The first vertex of the pair to setpublic V getB()
public void setB(V b)
b - The second vertex of the pair to setpublic int getType()
public void setType(int type)
type - Type of the component to set (1 or 2)public java.lang.String toString()
toString in class java.lang.Object