TreeNode with word and pos[]. More...
#include <wl.h>
Public Member Functions | |
TreeNode (wpp_t newword) | |
Constructor of TreeNode. More... | |
~TreeNode () | |
Destructor of TreeNode. More... | |
Public Attributes | |
char | color |
string | word |
ArrayList * | poss |
TreeNode * | left |
TreeNode * | right |
TreeNode * | parent |
TreeNode with word and pos[].
This is node in the Red-Black Tree. It stores a string type word and ArrayList type integer list.
TreeNode::TreeNode | ( | wpp_t | newword | ) |
char TreeNode::color |
color of this node
TreeNode* TreeNode::left |
Left child of this node
TreeNode* TreeNode::parent |
parent node of this node
TreeNode* TreeNode::right |
Right child of this node
string TreeNode::word |
word in this node