Modifier and Type | Field and Description |
---|---|
(package private) java.util.ArrayList<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 and Description |
---|
Node(DBIDRef r,
double maxDist,
double parentDist)
Constructor.
|
Node(DBIDRef r,
double maxDist,
double parentDist,
DoubleDBIDList singletons)
Constructor for leaf node.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isLeaf()
True, if the node is a leaf.
|
ModifiableDoubleDBIDList singletons
double maxDist
double parentDist
java.util.ArrayList<CoverTree.Node> children
public Node(DBIDRef r, double maxDist, double parentDist)
r
- Object.maxDist
- Maximum distance to any descendant.parentDist
- Distance from parent.public Node(DBIDRef r, double maxDist, double parentDist, DoubleDBIDList singletons)
r
- Object.maxDist
- Maximum distance to any descendant.parentDist
- Distance from parent.singletons
- Singletons.Copyright © 2019 ELKI Development Team. License information.