static class NearestNeighbor.Cell extends java.lang.Object implements java.lang.Comparable<NearestNeighbor.Cell>
Modifier and Type | Field and Description |
---|---|
(package private) double |
distanceMeters
The closest possible distance of all points in this cell
|
(package private) BKDReader.IndexTree |
index |
(package private) byte[] |
maxPacked |
(package private) byte[] |
minPacked |
(package private) int |
readerIndex |
Constructor and Description |
---|
Cell(BKDReader.IndexTree index,
int readerIndex,
byte[] minPacked,
byte[] maxPacked,
double distanceMeters) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(NearestNeighbor.Cell other) |
java.lang.String |
toString() |
final int readerIndex
final byte[] minPacked
final byte[] maxPacked
final BKDReader.IndexTree index
final double distanceMeters
public Cell(BKDReader.IndexTree index, int readerIndex, byte[] minPacked, byte[] maxPacked, double distanceMeters)
public int compareTo(NearestNeighbor.Cell other)
compareTo
in interface java.lang.Comparable<NearestNeighbor.Cell>
public java.lang.String toString()
toString
in class java.lang.Object