1 #ifndef theplu_yat_utility_detail_node_base 2 #define theplu_yat_utility_detail_node_base 42 virtual ~NodeBase(
void);
51 int balance(
void)
const;
54 int generation(
void)
const;
57 void increment_size(
void);
59 void decrement_size(
void);
62 void update_size(
void);
64 void update_height(
void);
67 void update_height_recursively(
void);
70 bool is_head_node(
void)
const;
72 bool is_left_node(
void)
const;
74 bool is_right_node(
void)
const;
76 bool is_root_node(
void)
const;
79 NodeBase* left_most(
void);
80 const NodeBase* left_most(
void)
const;
82 NodeBase* right_most(
void);
83 const NodeBase* right_most(
void)
const;
84 bool validate(
bool head=
false)
const;
87 size_t height(
const NodeBase* node);
88 size_t size(
const NodeBase* node);
The Department of Theoretical Physics namespace as we define it.