Block LDPC Generator class. More...
#include <itpp/comm/ldpc.h>
Public Member Functions | |
| BLDPC_Generator (const std::string type="BLDPC") | |
| Default constructor. | |
| BLDPC_Generator (const BLDPC_Parity *const H, const std::string type="BLDPC") | |
| Parametrized constructor. | |
| int | get_exp_factor () const |
| Get expansion factor. | |
| void | encode (const bvec &input, bvec &output) |
| Generator specific encode function. | |
| void | construct (const BLDPC_Parity *const H) |
| Construct the BLDPC generator. | |
| std::string | get_type () const |
| Return generator type. | |
| void | mark_initialized () |
| Mark generator as initialized. | |
| bool | is_initialized () const |
| Check if generator is initialized. | |
Protected Member Functions | |
| void | save (const std::string &filename) const |
| Save generator data to a file. | |
| void | load (const std::string &filename) |
| Read generator data from a file. | |
Protected Attributes | |
| GF2mat | H_enc |
| Preprocessed parity check matrix. | |
| int | N |
| Codeword length = H_enc.cols() | |
| int | M |
| Number of parity check bits = H_enc.rows() | |
| int | K |
| Number of information bits = N-M. | |
| int | Z |
| Expansion factor. | |
Block LDPC Generator class.
Generated on Sat May 25 2013 16:32:31 for IT++ by Doxygen 1.8.2