private static final class SimplifiedCoverTree.Node
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) java.util.ArrayList<SimplifiedCoverTree.Node> |
children
Child nodes.
|
(package private) double |
maxDist
Maximum distance to descendants.
|
(package private) ArrayModifiableDBIDs |
singletons
Objects in this node.
|
Constructor and Description |
---|
Node(DBIDRef r,
double maxDist)
Constructor.
|
Node(DBIDRef r,
double maxDist,
DoubleDBIDList singletons)
Constructor for leaf node.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isLeaf()
True, if the node is a leaf.
|
ArrayModifiableDBIDs singletons
double maxDist
java.util.ArrayList<SimplifiedCoverTree.Node> children
public Node(DBIDRef r, double maxDist)
r
- Object.maxDist
- Maximum distance to any descendant.public Node(DBIDRef r, double maxDist, DoubleDBIDList singletons)
r
- Object.maxDist
- Maximum distance to any descendant.singletons
- Singletons.Copyright © 2019 ELKI Development Team. License information.