Generic Channel Code class. More...
#include <itpp/comm/channel_code.h>
Public Member Functions | |
Channel_Code () | |
Default constructor. More... | |
virtual | ~Channel_Code () |
Destructor. More... | |
virtual void | encode (const bvec &uncoded_bits, bvec &coded_bits)=0 |
Encode a bvec of input. More... | |
virtual bvec | encode (const bvec &uncoded_bits)=0 |
Encode a bvec of input. More... | |
virtual void | decode (const bvec &codedbits, bvec &decoded_bits)=0 |
Decode a bvec of coded data. More... | |
virtual bvec | decode (const bvec &coded_bits)=0 |
Decode a bvec of coded data. More... | |
virtual void | decode (const vec &received_signal, bvec &decoded_bits)=0 |
Decode a vec of received data. More... | |
virtual bvec | decode (const vec &received_signal)=0 |
Decode a vec of received data. More... | |
virtual double | get_rate () const =0 |
Get the code rate. More... | |
Generic Channel Code class.
Definition at line 50 of file channel_code.h.
|
inline |
Default constructor.
Definition at line 54 of file channel_code.h.
|
inlinevirtual |
Destructor.
Definition at line 56 of file channel_code.h.
|
pure virtual |
Encode a bvec of input.
Implemented in itpp::Convolutional_Code, itpp::LDPC_Code, itpp::Punctured_Convolutional_Code, itpp::BCH, itpp::Dummy_Code, itpp::Extended_Golay, itpp::Hamming_Code, and itpp::Reed_Solomon.
|
pure virtual |
Encode a bvec of input.
Implemented in itpp::Convolutional_Code, itpp::LDPC_Code, itpp::Punctured_Convolutional_Code, itpp::BCH, itpp::Dummy_Code, itpp::Extended_Golay, itpp::Hamming_Code, and itpp::Reed_Solomon.
|
pure virtual |
Decode a bvec of coded data.
Implemented in itpp::LDPC_Code, itpp::BCH, itpp::Dummy_Code, itpp::Convolutional_Code, itpp::Extended_Golay, itpp::Hamming_Code, itpp::Punctured_Convolutional_Code, and itpp::Reed_Solomon.
|
pure virtual |
Decode a bvec of coded data.
Implemented in itpp::LDPC_Code, itpp::BCH, itpp::Dummy_Code, itpp::Convolutional_Code, itpp::Extended_Golay, itpp::Hamming_Code, itpp::Punctured_Convolutional_Code, and itpp::Reed_Solomon.
|
pure virtual |
Decode a vec of received data.
Implemented in itpp::LDPC_Code, itpp::Dummy_Code, itpp::BCH, itpp::Convolutional_Code, itpp::Extended_Golay, itpp::Hamming_Code, itpp::Punctured_Convolutional_Code, and itpp::Reed_Solomon.
|
pure virtual |
Decode a vec of received data.
Implemented in itpp::LDPC_Code, itpp::BCH, itpp::Dummy_Code, itpp::Convolutional_Code, itpp::Extended_Golay, itpp::Hamming_Code, itpp::Punctured_Convolutional_Code, and itpp::Reed_Solomon.
|
pure virtual |
Get the code rate.
Implemented in itpp::BCH, itpp::Dummy_Code, itpp::Extended_Golay, itpp::Hamming_Code, itpp::LDPC_Code, itpp::Punctured_Convolutional_Code, itpp::Reed_Solomon, and itpp::Convolutional_Code.
Generated on Sun Jun 5 2022 21:26:42 for IT++ by Doxygen 1.9.3