protected class NearestNeighbourSearch.MyHeapElement extends 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.
|
public int index
public double distance
public MyHeapElement(int i, double d)
i
- the indexd
- the distancepublic String getRevision()
getRevision
in interface RevisionHandler
Copyright © 2015 University of Waikato, Hamilton, NZ. All rights reserved.