de.lmu.ifi.dbs.elki.index.tree.query
Class GenericMTreeDistanceSearchCandidate<D extends Distance<D>>
java.lang.Object
de.lmu.ifi.dbs.elki.index.tree.query.GenericDistanceSearchCandidate<D>
de.lmu.ifi.dbs.elki.index.tree.query.GenericMTreeDistanceSearchCandidate<D>
- Type Parameters:
D
- the type of Distance used in the M-Tree
- All Implemented Interfaces:
- Comparable<GenericDistanceSearchCandidate<D>>
public class GenericMTreeDistanceSearchCandidate<D extends Distance<D>>
- extends GenericDistanceSearchCandidate<D>
Encapsulates the attributes for a object that can be stored in a heap. The
object to be stored represents a node in a M-Tree and some additional
information. Additionally to the regular expansion candidate, this object
holds the id of the routing object of the underlying M-Tree node and its
covering radius.
routingObjectID
public DBID routingObjectID
- The id of the routing object.
GenericMTreeDistanceSearchCandidate
public GenericMTreeDistanceSearchCandidate(D mindist,
Integer nodeID,
DBID routingObjectID)
- Creates a new heap node with the specified parameters.
- Parameters:
mindist
- the minimum distance of the nodenodeID
- the id of the noderoutingObjectID
- the id of the routing object of the node