|
Board 0.9.6
|
Public Member Functions | |
| Node (const std::string &symbol, double probability, Node *left=nullptr, Node *right=nullptr) | |
| ~Node () | |
| int | height () const |
Public Attributes | |
| std::string | symbol |
| double | probability |
| std::string | codeword |
| Node * | left |
| Node * | right |
|
inline |
|
inline |
|
inline |
References height(), left, and right.
Referenced by height(), and NodeGreaterThan::operator()().
| std::string Node::codeword |
Referenced by fill_codeword(), and LeaveBox().
| Node* Node::left |
Referenced by clone(), extract_leaves(), extract_probabilities(), fill_codeword(), fill_probabilities(), fill_probabilities(), height(), HuffmanTree(), and ~Node().
| double Node::probability |
Referenced by clone(), extract_leaves(), extract_probabilities(), fill_probabilities(), fill_probabilities(), HuffmanTree(), LeaveBox(), and NodeGreaterThan::operator()().
| Node* Node::right |
Referenced by clone(), extract_leaves(), extract_probabilities(), fill_codeword(), fill_probabilities(), fill_probabilities(), height(), HuffmanTree(), and ~Node().
| std::string Node::symbol |
Referenced by clone(), extract_leaves(), extract_probabilities(), fill_probabilities(), HuffmanTree(), and LeaveBox().