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.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Field Details
-
distances
-
-
Constructor Details
-
VertexComparator
-
-
Method Details
-
compare
- Specified by:
comparein interfaceComparator<V>
-