public class MTreeSearchCandidate extends java.lang.Object implements java.lang.Comparable<MTreeSearchCandidate>
Modifier and Type | Field and Description |
---|---|
double |
mindist
Distance value
|
int |
nodeID
Page id
|
double |
routingDistance
The distance from the query object to the routing object
|
DBID |
routingObjectID
The id of the routing object.
|
Constructor and Description |
---|
MTreeSearchCandidate(double mindist,
int nodeID,
DBID routingObjectID,
double routingDistance)
Creates a new heap node with the specified parameters.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(MTreeSearchCandidate o) |
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
public double mindist
public int nodeID
public DBID routingObjectID
public double routingDistance
public MTreeSearchCandidate(double mindist, int nodeID, DBID routingObjectID, double routingDistance)
mindist
- the minimum distance of the nodenodeID
- the id of the noderoutingObjectID
- the id of the routing object of the noderoutingDistance
- the distance from the query object to the query
objectpublic boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(MTreeSearchCandidate o)
compareTo
in interface java.lang.Comparable<MTreeSearchCandidate>
Copyright © 2019 ELKI Development Team. License information.