org.jgrapht.alg
Class StoerWagnerMinimumCut.VertexAndWeight
java.lang.Object
org.jgrapht.alg.StoerWagnerMinimumCut.VertexAndWeight
- All Implemented Interfaces:
- java.lang.Comparable<StoerWagnerMinimumCut.VertexAndWeight>
- Enclosing class:
- StoerWagnerMinimumCut<V,E>
protected class StoerWagnerMinimumCut.VertexAndWeight
- extends java.lang.Object
- implements java.lang.Comparable<StoerWagnerMinimumCut.VertexAndWeight>
Class for weighted vertices
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
vertex
public java.util.Set<V> vertex
weight
public java.lang.Double weight
StoerWagnerMinimumCut.VertexAndWeight
public StoerWagnerMinimumCut.VertexAndWeight(java.util.Set<V> v,
double w)
compareTo
public int compareTo(StoerWagnerMinimumCut.VertexAndWeight that)
- Specified by:
compareTo
in interface java.lang.Comparable<StoerWagnerMinimumCut.VertexAndWeight>
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object