Class CoverTree.Node
- java.lang.Object
-
- elki.index.tree.metrical.covertree.CoverTree.Node
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.util.List<CoverTree.Node>
children
Child nodes.(package private) double
maxDist
Maximum distance to descendants.(package private) double
parentDist
Distance to parent.(package private) ModifiableDoubleDBIDList
singletons
Objects in this node.
-
Constructor Summary
Constructors Constructor Description Node(DBIDRef r, double maxDist, double parentDist)
Constructor.Node(DBIDRef r, double maxDist, double parentDist, DoubleDBIDList singletons)
Constructor for leaf node.
-
-
-
Field Detail
-
singletons
ModifiableDoubleDBIDList singletons
Objects in this node. Except for the first, which is the routing object.
-
maxDist
double maxDist
Maximum distance to descendants.
-
parentDist
double parentDist
Distance to parent.
-
children
java.util.List<CoverTree.Node> children
Child nodes.
-
-
Constructor Detail
-
Node
public Node(DBIDRef r, double maxDist, double parentDist)
Constructor.- Parameters:
r
- Reference objectmaxDist
- Maximum distance to any descendantparentDist
- Distance from parent
-
Node
public Node(DBIDRef r, double maxDist, double parentDist, DoubleDBIDList singletons)
Constructor for leaf node.- Parameters:
r
- Reference objectmaxDist
- Maximum distance to any descendantparentDist
- Distance from parentsingletons
- Singletons
-
-