An inner node in a Huffman tree.
More...
#include <Huffman.h>
An inner node in a Huffman tree.
Definition at line 29 of file Huffman.h.
HuffInnerNode::HuffInnerNode |
( |
const int |
leftId, |
|
|
const int |
rightId, |
|
|
const int |
combinedFrequency |
|
) |
| |
|
inline |
Construct a Huffman inner node
- Parameters
-
leftId | ID of the left child node |
rightId | ID of the right child node |
combinedFrequency | frequency of the combined symbol (sum of left and right child's frequency) |
Definition at line 35 of file Huffman.h.
const int HuffInnerNode::leftId |
const int HuffInnerNode::rightId |
The documentation for this struct was generated from the following file: