#include <ptree.h>
Collaboration diagram for _patnode:
Data Fields | |
union { | |
int data | |
Integer value at leaf. | |
int thres_bit | |
Threshold bit at branch. | |
} | value |
Node value. | |
_patnode * | left0 |
Link to left node (bit=0). | |
_patnode * | right1 |
Link to right node (bit=1). |
Definition at line 50 of file ptree.h.
union { ... } _patnode::value |
Node value.
Integer value if this is leaf node (in case both left0 and right1 are NULL), or threshold bit if this is branch node (otherwise)
Referenced by make_ptree(), ptree_add_entry_at(), and ptree_make_root_node().