GNSS-SDR 0.0.21
An Open Source GNSS Software Defined Receiver
Loading...
Searching...
No Matches
Viterbi_Decoder_Sbas Class Reference

Class that implements a Viterbi decoder. More...

#include <viterbi_decoder_sbas.h>

Public Member Functions

 Viterbi_Decoder_Sbas (const int g_encoder[], int KK, int nn)
void reset ()
float decode_block (const double input_c[], int *output_u_int, int LL)
 Uses the Viterbi algorithm to perform hard-decision decoding of a convolutional code.
float decode_continuous (const double sym[], int traceback_depth, int bits[], int nbits_requested, int &nbits_decoded)

Detailed Description

Class that implements a Viterbi decoder.

Definition at line 34 of file viterbi_decoder_sbas.h.

Member Function Documentation

◆ decode_block()

float Viterbi_Decoder_Sbas::decode_block ( const double input_c[],
int * output_u_int,
int LL )

Uses the Viterbi algorithm to perform hard-decision decoding of a convolutional code.

Parameters
[in]input_c[]The received signal in LLR-form. For BPSK, must be in form r = 2*a*y/(sigma^2).
[in]LLThe number of data bits to be decoded (does not include the mm zero-tail-bits)
Returns
output_u_int[] Hard decisions on the data bits (without the mm zero-tail-bits)

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