public static class KnnEvaluator.Neighbor extends Object implements Comparable<KnnEvaluator.Neighbor>
| Constructor and Description |
|---|
Neighbor(int row,
double distance) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(KnnEvaluator.Neighbor neighbor) |
Double |
getDistance() |
int |
getRow() |
public int getRow()
public Double getDistance()
public int compareTo(KnnEvaluator.Neighbor neighbor)
compareTo in interface Comparable<KnnEvaluator.Neighbor>Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.