de.lmu.ifi.dbs.elki.index.tree.query
Class DoubleDistanceSearchCandidate
java.lang.Object
de.lmu.ifi.dbs.elki.index.tree.query.DoubleDistanceSearchCandidate
- All Implemented Interfaces:
- Comparable<DoubleDistanceSearchCandidate>
public class DoubleDistanceSearchCandidate
- extends Object
- implements Comparable<DoubleDistanceSearchCandidate>
Candidate for expansion in a distance search (generic implementation).
mindist
public double mindist
- Distance value
nodeID
public Integer nodeID
- Page id
DoubleDistanceSearchCandidate
public DoubleDistanceSearchCandidate(double mindist,
Integer pagenr)
- Constructor.
- Parameters:
mindist
- The minimum distance to this candidatepagenr
- The page number of this candidate
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
compareTo
public int compareTo(DoubleDistanceSearchCandidate o)
- Specified by:
compareTo
in interface Comparable<DoubleDistanceSearchCandidate>