Structure Code

Abstract interface for an error correction code.

Namespace: dsp::telecom

Fields list

n : int

Bloc dimension (in bits)

k : int

Usefull data dimension (in bits)

nom : string

Name of the code.

Methods list

float taux() const
Transmission rate (ratio of number of usefull bits on total transmitted bits)

virtual BitStream encode(const BitStream &u)=0
Encoding function.

virtual BitStream decode(const ArrayLLRi &llri)=0
Decoding function.