static class ALOCI.Node extends Object
Modifier and Type | Field and Description |
---|---|
(package private) Vector |
center
Center vector
|
(package private) List<ALOCI.Node> |
children
Child nodes, may be null
|
(package private) int |
code
Position code
|
(package private) int |
count
Number of elements
|
(package private) int |
level
Level of node
|
(package private) ALOCI.Node |
parent
Parent node
|
Modifier | Constructor and Description |
---|---|
protected |
ALOCI.Node(int code,
Vector center,
int count,
int level,
List<ALOCI.Node> children)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Vector |
getCenter()
Return center vector
|
int |
getCount()
Get count of subtree
|
long |
getCubicSum(int levels)
Get cubic sum.
|
int |
getLevel()
Get level of node.
|
long |
getSquareSum(int levels)
Get sum of squares, recursively
|
final int code
final int count
final int level
List<ALOCI.Node> children
ALOCI.Node parent
Vector center
protected ALOCI.Node(int code, Vector center, int count, int level, List<ALOCI.Node> children)
code
- Node codecenter
- Center vectorcount
- Element countlevel
- Node levelchildren
- Children listpublic int getLevel()
public int getCount()
public Vector getCenter()
public long getSquareSum(int levels)
levels
- Depth to collectpublic long getCubicSum(int levels)
levels
- Level to collectCopyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.