Class DijkstraDistance.VertexComparator<V>
java.lang.Object
edu.uci.ics.jung.algorithms.shortestpath.DijkstraDistance.VertexComparator<V>
- All Implemented Interfaces:
Comparator<V>
- Enclosing class:
- DijkstraDistance<V,
E>
Compares according to distances, so that the BinaryHeap knows how to
order the tree.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
VertexComparator
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<V>
-