protected class NearestNeighbourSearch.MyHeapElement extends java.lang.Object implements RevisionHandler
| Modifier and Type | Field and Description |
|---|---|
double |
distance
the distance of this element.
|
int |
index
the index of this element.
|
| Constructor and Description |
|---|
MyHeapElement(int i,
double d)
constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getRevision()
Returns the revision string.
|
public int index
public double distance
public MyHeapElement(int i,
double d)
i - the indexd - the distancepublic java.lang.String getRevision()
getRevision in interface RevisionHandler