TheAlgorithms/C++ 1.0.0
All the algorithms implemented in C++
Loading...
Searching...
No Matches
compare Struct Reference

Public Member Functions

bool operator() (const MinHeapNode *const l, const MinHeapNode *const r) const
 

Detailed Description

Definition at line 36 of file huffman.cpp.

Member Function Documentation

◆ operator()()

bool compare::operator() ( const MinHeapNode *const l,
const MinHeapNode *const r ) const
inline

Definition at line 37 of file huffman.cpp.

38 {
39 return l->freq > r->freq;
40 }
double l(double x)
Another test function.

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