|
ScapeGoatTree
|
#include <Node.hpp>
Public Member Functions | |
| Node (const T &v, Node *parentPtr=nullptr) | |
Public Attributes | |
| T | value {} |
| Node * | left {} |
| Node * | right {} |
| Node * | parent {} |
| unsigned int | size =1 |
Friends | |
| template<typename > | |
| class | ScapeGoatTree |
Initializes a node with a value and an optional parent pointer.