Class KnnEvaluator.Neighbor
- java.lang.Object
-
- org.apache.solr.client.solrj.io.eval.KnnEvaluator.Neighbor
-
- All Implemented Interfaces:
Comparable<KnnEvaluator.Neighbor>
- Enclosing class:
- KnnEvaluator
public static class KnnEvaluator.Neighbor extends Object implements Comparable<KnnEvaluator.Neighbor>
-
-
Constructor Summary
Constructors Constructor Description Neighbor(int row, double distance)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(KnnEvaluator.Neighbor neighbor)
Double
getDistance()
int
getRow()
-
-
-
Method Detail
-
getRow
public int getRow()
-
getDistance
public Double getDistance()
-
compareTo
public int compareTo(KnnEvaluator.Neighbor neighbor)
- Specified by:
compareTo
in interfaceComparable<KnnEvaluator.Neighbor>
-
-