dlangui v0.10.2 (2022-12-17T17:39:40Z)
Home
Dub
Repo
HuffmanTreeNode
dimage
huffman
Undocumented in source.
struct
HuffmanTreeNode {
HuffmanTreeNode
*
parent
;
HuffmanTreeNode
*
left
;
HuffmanTreeNode
*
right
;
ubyte
ch
;
uint
freq
;
bool
blank
;
this
(HuffmanTreeNode* leftNode, HuffmanTreeNode* rightNode, ubyte symbol, uint frequency, bool isBlank);
bool
isLeaf
();
void
free
();
}
Constructors
this
this
(HuffmanTreeNode* leftNode, HuffmanTreeNode* rightNode, ubyte symbol, uint frequency, bool isBlank)
Undocumented in source.
Members
Functions
free
void
free
()
Undocumented in source. Be warned that the author may not have intended to support it.
isLeaf
bool
isLeaf
()
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
blank
bool
blank
;
Undocumented in source.
ch
ubyte
ch
;
Undocumented in source.
freq
uint
freq
;
Undocumented in source.
left
HuffmanTreeNode
*
left
;
Undocumented in source.
parent
HuffmanTreeNode
*
parent
;
Undocumented in source.
right
HuffmanTreeNode
*
right
;
Undocumented in source.
Meta
Source
See Implementation
dimage
huffman
structs
HuffmanTreeNode