public class NodeProbabilityComparator extends Object implements Comparator<RMNode>
RMNode
objects :SelectionScript
.Constructor and Description |
---|
NodeProbabilityComparator(HashMap<RMNode,Probability> nodes) |
Modifier and Type | Method and Description |
---|---|
int |
compare(RMNode n1,
RMNode n2) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public NodeProbabilityComparator(HashMap<RMNode,Probability> nodes)
public int compare(RMNode n1, RMNode n2)
compare
in interface Comparator<RMNode>