|
Aleph-w 7.10.0
A C++ Library for Data Structures and Algorithms
|
One node of a reconstructed display tree. More...
#include <adaptive_huffman_demo_support.H>
Public Attributes | |
| int | children [2] = {-1, -1} |
| Child indices; -1 denotes absence. | |
| int | symbol = -2 |
| Byte value, -1 for NYT, -2 for an internal node. | |
| std::uint64_t | weight = 0 |
| Sum of the descendant symbol frequencies. | |
| std::string | code |
| Root-to-node path. | |
| double | x = 0 |
| Horizontal drawing coordinate. | |
| double | y = 0 |
| Vertical drawing coordinate. | |
One node of a reconstructed display tree.
Definition at line 86 of file adaptive_huffman_demo_support.H.
| int adaptive_huffman_demo::Display_Node::children[2] = {-1, -1} |
Child indices; -1 denotes absence.
Definition at line 88 of file adaptive_huffman_demo_support.H.
| std::string adaptive_huffman_demo::Display_Node::code |
Root-to-node path.
Definition at line 91 of file adaptive_huffman_demo_support.H.
Referenced by adaptive_huffman_demo::insert_code().
| int adaptive_huffman_demo::Display_Node::symbol = -2 |
Byte value, -1 for NYT, -2 for an internal node.
Definition at line 89 of file adaptive_huffman_demo_support.H.
| std::uint64_t adaptive_huffman_demo::Display_Node::weight = 0 |
Sum of the descendant symbol frequencies.
Definition at line 90 of file adaptive_huffman_demo_support.H.
| double adaptive_huffman_demo::Display_Node::x = 0 |
Horizontal drawing coordinate.
Definition at line 92 of file adaptive_huffman_demo_support.H.
| double adaptive_huffman_demo::Display_Node::y = 0 |
Vertical drawing coordinate.
Definition at line 93 of file adaptive_huffman_demo_support.H.