L - Label type.@Deprecated public final class PointWithDistance<L> extends Object implements Comparable<PointWithDistance>
| Constructor and Description |
|---|
PointWithDistance(LabeledVector<L> pnt,
double distance)
Deprecated.
Constructs a new instance of data point with distance.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(PointWithDistance o)
Deprecated.
|
double |
getDistance()
Deprecated.
|
LabeledVector<L> |
getPnt()
Deprecated.
|
public PointWithDistance(LabeledVector<L> pnt, double distance)
pnt - Data point.distance - Distance to target point.public LabeledVector<L> getPnt()
public double getDistance()
public int compareTo(PointWithDistance o)
compareTo in interface Comparable<PointWithDistance>
GridGain In-Memory Computing Platform : ver. 8.9.38 Release Date : September 22 2026