#include <channel_code.h>
Public Member Functions | |
Dummy_Code () | |
Default constructor. | |
virtual | ~Dummy_Code () |
Destructor. | |
virtual void | encode (const bvec &uncoded_bits, bvec &coded_bits) |
Encode a bvec of input. | |
virtual bvec | encode (const bvec &uncoded_bits) |
Encode a bvec of input. | |
virtual void | decode (const bvec &coded_bits, bvec &decoded_bits) |
Decode a bvec of coded data. | |
virtual bvec | decode (const bvec &coded_bits) |
Decode a bvec of coded data. | |
virtual void | decode (const vec &received_signal, bvec &decoded_bits) |
Decode a vec of received data. Assumes soft input (BPSK modulated). | |
virtual bvec | decode (const vec &received_signal) |
Decode a vec of received data. Assumes soft input (BPSK modulated). | |
virtual double | get_rate () const |
Get the code rate. |
A dummy code class. Uncoded output.