|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
#include <iostream>#include <fstream>#include <tpl_binNodeUtils.H>#include <Huffman.H>#include <huffman_btreepic.H>Go to the source code of this file.
Functions | |
| const size_t | read_and_encode (char *str, Huffman_Encoder_Engine &huffman_engine, BitArray &bit_stream) |
| void | print_node (BinNode< string > *p, int, int) |
| void | print_code (BitArray &cod, const size_t &len) |
| int | main () |
Variables | |
| char | poema1 [] |
| char | poema [] |
| int main | ( | ) |
Definition at line 108 of file test_huffman.C.
References Aleph::code(), Aleph::destroyRec(), Aleph::divide_and_conquer_partition_dp(), huffman_to_btreepic(), output, output_ptr, poema, print_code(), and read_and_encode().
| void print_code | ( | BitArray & | cod, |
| const size_t & | len | ||
| ) |
Definition at line 101 of file test_huffman.C.
References Aleph::divide_and_conquer_partition_dp().
Referenced by main().
| void print_node | ( | BinNode< string > * | p, |
| int | , | ||
| int | |||
| ) |
Definition at line 96 of file test_huffman.C.
References Aleph::BinNode< Key >::get_key().
| const size_t read_and_encode | ( | char * | str, |
| Huffman_Encoder_Engine & | huffman_engine, | ||
| BitArray & | bit_stream | ||
| ) |
Definition at line 84 of file test_huffman.C.
References Aleph::divide_and_conquer_partition_dp().
Referenced by main().
| char poema[] |
Definition at line 60 of file test_huffman.C.
Referenced by main().
| char poema1[] |
Definition at line 36 of file test_huffman.C.