#include <ptree.h>
_patnodeのコラボレーション図
変数 | |
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) |
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)
参照元 make_ptree()・ptree_add_entry_at()・ptree_make_root_node().