itpp::BLDPC_Generator Class Reference

Block LDPC Generator class. More...

#include <ldpc.h>

List of all members.

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.

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.
bool init_flag
 True if generator is initialized.
std::string type
 Generator type.


Detailed Description

Block LDPC Generator class.

Author:
Adam Piatyszek
Note:
Please refer to the BLDPC_Parity class description for information on B-LDPC codes

The documentation for this class was generated from the following files:

Generated on Tue Jun 2 10:02:19 2009 for mixpp by  doxygen 1.5.8