de.lmu.ifi.dbs.elki.index.tree.query
Class GenericDistanceSearchCandidate<D extends Distance<D>>
java.lang.Object
de.lmu.ifi.dbs.elki.index.tree.query.GenericDistanceSearchCandidate<D>
- Type Parameters:
D
- Distance type
- All Implemented Interfaces:
- Comparable<GenericDistanceSearchCandidate<D>>
- Direct Known Subclasses:
- GenericMTreeDistanceSearchCandidate
public class GenericDistanceSearchCandidate<D extends Distance<D>>
- extends Object
- implements Comparable<GenericDistanceSearchCandidate<D>>
Candidate for expansion in a distance search (generic implementation).
mindist
public D extends Distance<D> mindist
- Distance value
nodeID
public Integer nodeID
- Page id
GenericDistanceSearchCandidate
public GenericDistanceSearchCandidate(D 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(GenericDistanceSearchCandidate<D> o)
- Specified by:
compareTo
in interface Comparable<GenericDistanceSearchCandidate<D extends Distance<D>>>