Yggdrasill
0.2
|
Base class (template) to supply your node class with metainformation. More...
#include <wbtree.hpp>
Public Attributes | |
size_t | _wbt_size |
Protected Attributes | |
Node * | _bst_children [2] |
DefaultParentContainer< Node > | _bst_parent |
Base class (template) to supply your node class with metainformation.
The class you use as nodes for the Weight Balanced Tree must derive from this class (template). It supplies your class with the necessary members to contain the linking between the tree nodes.
Node | The node class itself. Yes, that's the class derived from this template. This sounds weird, but is correct. See the examples if you're confused. |
options | The options class (a version of TreeOptions) that you parameterize the tree with. (See the options parameter of RBTree.) |
Tag | The tag used to identify the tree that this node should be inserted into. See RBTree for details. |