Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
Aleph::Huffman_Node Struct Reference

#include <Huffman.H>

Inheritance diagram for Aleph::Huffman_Node:
[legend]
Collaboration diagram for Aleph::Huffman_Node:
[legend]

Public Member Functions

 Huffman_Node ()
 
 Huffman_Node (BinNode< std::string > *node)
 
 ~Huffman_Node ()
 
- Public Member Functions inherited from Aleph::BinHeapNode< Key >
Key & get_key () noexcept
 
const Key & get_key () const noexcept
 
BinHeapNode *& getL () noexcept
 
BinHeapNode *& getR () noexcept
 
const BinHeapNodegetL () const noexcept
 
const BinHeapNodegetR () const noexcept
 
 BinHeapNode (const Key &k)
 
 BinHeapNode (Key &&k) noexcept
 
 BinHeapNode (const BinHeapNode_Data &control_data, const Key &k)
 
 BinHeapNode (const BinHeapNode &node)
 
 BinHeapNode (BinHeapNode &&node)
 
 BinHeapNode (const BinHeapNode_Data &control_data) noexcept
 
 BinHeapNode ()
 
void reset () noexcept
 
- Public Member Functions inherited from Aleph::BinHeapNode_Data
 BinHeapNode_Data () noexcept
 
BinHeapNode_Data *& getU () noexcept
 
Control_Fieldsget_control_fields () noexcept
 
void reset () noexcept
 

Public Attributes

BinNode< std::string > * bin_node
 
Freq_Nodefreq_node
 

Additional Inherited Members

- Public Types inherited from Aleph::BinHeapNode< Key >
typedef Key key_type
 
typedef Key Key_Type
 
- Static Public Member Functions inherited from Aleph::BinHeapNode< Key >
static BinHeapNodekey_to_node (Key &__key) noexcept
 
- Static Public Attributes inherited from Aleph::BinHeapNode< Key >
static const size_t MaxHeight = 64
 
static BinHeapNode *const NullPtr = nullptr
 

Detailed Description

Definition at line 66 of file Huffman.H.

Constructor & Destructor Documentation

◆ Huffman_Node() [1/2]

Aleph::Huffman_Node::Huffman_Node ( )
inline

Definition at line 74 of file Huffman.H.

◆ Huffman_Node() [2/2]

Aleph::Huffman_Node::Huffman_Node ( BinNode< std::string > *  node)
inline

Definition at line 80 of file Huffman.H.

◆ ~Huffman_Node()

Aleph::Huffman_Node::~Huffman_Node ( )
inline

Definition at line 86 of file Huffman.H.

Member Data Documentation

◆ bin_node

BinNode<std::string>* Aleph::Huffman_Node::bin_node

Definition at line 68 of file Huffman.H.

Referenced by Aleph::Huffman_Encoder_Engine::clear_build_state().

◆ freq_node

Freq_Node* Aleph::Huffman_Node::freq_node

Definition at line 70 of file Huffman.H.


The documentation for this struct was generated from the following file: