- java.lang.Object
-
- edu.uci.ics.jung.algorithms.path.DijkstraDistance.VertexComparator<V>
-
- All Implemented Interfaces:
- java.util.Comparator<V>
- Enclosing class:
- DijkstraDistance<V,E>
protected static class DijkstraDistance.VertexComparator<V>
extends java.lang.Object
implements java.util.Comparator<V>
Compares according to distances, so that the BinaryHeap knows how to
order the tree.
-
-
Constructor Summary
Constructors
Modifier |
Constructor and Description |
protected |
VertexComparator(java.util.Map<V,java.lang.Number> distances) |
-
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
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
Copyright © 2021, 2022 Herve Girod. All Rights Reserved. Documentation and source under the BSD 3-Clause licence