Class NearestVertexWalker.VertexComparator<V extends SequenceElement,E extends Number>
- java.lang.Object
-
- org.deeplearning4j.models.sequencevectors.graph.walkers.impl.NearestVertexWalker.VertexComparator<V,E>
-
- All Implemented Interfaces:
Comparator<Vertex<V>>
- Enclosing class:
- NearestVertexWalker<V extends SequenceElement>
protected class NearestVertexWalker.VertexComparator<V extends SequenceElement,E extends Number> extends Object implements Comparator<Vertex<V>>
-
-
Constructor Summary
Constructors Constructor Description VertexComparator(@NonNull IGraph<V,E> graph)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(Vertex<V> o1, Vertex<V> o2)
-
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
-
-