
public class GenericMTreeDistanceSearchCandidate extends Object implements Comparable<GenericMTreeDistanceSearchCandidate>
| Modifier and Type | Field and Description | 
|---|---|
double | 
mindist
Minimum distance. 
 | 
int | 
nodeID
Node ID. 
 | 
DBID | 
routingObjectID
The id of the routing object. 
 | 
| Constructor and Description | 
|---|
GenericMTreeDistanceSearchCandidate(double mindist,
                                   int nodeID,
                                   DBID routingObjectID)
Creates a new heap node with the specified parameters. 
 | 
public DBID routingObjectID
public double mindist
public int nodeID
public GenericMTreeDistanceSearchCandidate(double mindist,
                                   int nodeID,
                                   DBID routingObjectID)
mindist - the minimum distance of the nodenodeID - the id of the noderoutingObjectID - the id of the routing object of the nodepublic int compareTo(GenericMTreeDistanceSearchCandidate o)
compareTo in interface Comparable<GenericMTreeDistanceSearchCandidate>