TheAlgorithms/C++ 1.0.0
All the algorithms implemented in C++
Loading...
Searching...
No Matches
MinHeapNode Struct Reference
Collaboration diagram for MinHeapNode:
[legend]

Public Member Functions

 MinHeapNode (char data, unsigned freq)
 

Public Attributes

char data
 
unsigned freq
 
MinHeapNodeleft
 
MinHeapNoderight
 

Detailed Description

Definition at line 7 of file huffman.cpp.

Constructor & Destructor Documentation

◆ MinHeapNode()

MinHeapNode::MinHeapNode ( char data,
unsigned freq )
inline

Definition at line 17 of file huffman.cpp.

19 {
20 left = right = NULL;
21 this->data = data;
22 this->freq = freq;
23 }

Member Data Documentation

◆ data

char MinHeapNode::data

Definition at line 9 of file huffman.cpp.

◆ freq

unsigned MinHeapNode::freq

Definition at line 12 of file huffman.cpp.

◆ left

MinHeapNode* MinHeapNode::left

Definition at line 15 of file huffman.cpp.

◆ right

MinHeapNode * MinHeapNode::right

Definition at line 15 of file huffman.cpp.


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