Tree Compression with Top Trees Revisited
|
Compute entropy of a set of label strings. More...
#include <Entropy.h>
Public Member Functions | |
LabelDataEntropy (const Labels< std::string > &labels) | |
void | construct () |
Do entropy calculation. More... | |
void | addToWriter (HuffmanWriter< std::string::value_type > &writer) |
Write the labels to a Huffman writer. More... | |
int | getExtraSize () const |
Public Attributes | |
const Labels< std::string > & | labels |
HuffmanBuilder< std::string::value_type > | huffman |
Compute entropy of a set of label strings.
|
inline |
|
inline |
|
inline |
|
inline |
HuffmanBuilder<std::string::value_type> LabelDataEntropy< std::string >::huffman |
const Labels<std::string>& LabelDataEntropy< std::string >::labels |