This is the documentation for Enlighten.
class Enlighten GeoClusterNodeTree
class Enlighten::GeoClusterNodeTree
└>Geo::TreeNode< GeoClusterNode >
Debugging output representation of a hierarchy of clustering metrics.
Functions
Name | Description |
|---|---|
Destructor. | |
Add a child node with the given value 'val'. | |
Fills in the m_Level and m_LevelClusterIdx properties for each node in the tree. | |
Builds a linear ID lookup. | |
BuildRangeArrayRecursive(ClusterRangeArray &, Geo::s32, Geo::s32) | Builds a range array. |
Delete the child with index 'idx', children of the node is assigned to this node at the end of the child array. | |
Delete the child with index 'idx' and all nodes below this child. | |
Locate a node with the given linear index in the tree. | |
Get child with index 'idx', NULL if 'idx' is out of range. | |
Get child with index 'idx', NULL if 'idx' is out of range. | |
Get the depth of the node. | |
Fills in an array of all the leaf nodes underneath this node. Returns the total number of leaves in the resulting array. | |
GetLevelFromRoot(Geo::GeoArray< TreeNode< _Ty > * > &, Geo::s32) | Return an array of nodes at the given depth ordered from left to right in the tree. |
GetLevelFromRoot(Geo::GeoArray< const TreeNode< _Ty > * > &, Geo::s32) | Return an array of nodes at the given depth ordered from left to right in the tree. |
Number of immediate children nodes. | |
Total number of internal nodes in the tree (i.e. not leaves) | |
Get the number of levels in the tree. | |
Total number of nodes in the tree. | |
Total number of nodes in a given level. | |
Get the parent node, NULL if this is the root. | |
Get the parent node, NULL if this is the root. | |
Get the root of the tree. | |
Get the root of the tree. | |
Get the value stored in the node. | |
Get the value stored in the node. | |
Returns whether this is a leaf node, i.e. has no children. | |
Returns whether this is a root node, i.e. has no parent. | |
Load tree from disk. | |
Loads object from the provided stream. | |
Remove and return the child with index 'idx' from the tree. | |
Save tree to disk. | |
Set the value stored in the node. | |
Constructor. |