- Type Parameters:
L - Label type.
- All Implemented Interfaces:
public final class PointWithDistance<L>
Utils class to be used in heap to compare two point using their distances to target point.
Note: this class has a natural ordering that is inconsistent with equals.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public PointWithDistance(LabeledVector<L> pnt,
Constructs a new instance of data point with distance.
pnt - Data point.
distance - Distance to target point.
| || |
| Ignite Database and Caching Platform ||: ver. 2.9.1 |
| Release Date ||: December 9 2020 |