protected class StoerWagnerMinimumCut.VertexAndWeight extends java.lang.Object implements java.lang.Comparable<StoerWagnerMinimumCut.VertexAndWeight>
| Modifier and Type | Field and Description |
|---|---|
java.util.Set<V> |
vertex |
java.lang.Double |
weight |
| Constructor and Description |
|---|
VertexAndWeight(java.util.Set<V> v,
double w) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(StoerWagnerMinimumCut.VertexAndWeight that) |
java.lang.String |
toString() |
public java.util.Set<V> vertex
public java.lang.Double weight
public VertexAndWeight(java.util.Set<V> v, double w)
public int compareTo(StoerWagnerMinimumCut.VertexAndWeight that)
compareTo in interface java.lang.Comparable<StoerWagnerMinimumCut.VertexAndWeight>public java.lang.String toString()
toString in class java.lang.Object