12#ifndef INCLUDED_POLAR_FEC_DECODER_SC_LIST_H
13#define INCLUDED_POLAR_FEC_DECODER_SC_LIST_H
58 std::vector<int> frozen_bit_positions,
59 std::vector<uint8_t> frozen_bit_values);
69 std::vector<int> frozen_bit_positions,
70 std::vector<uint8_t> frozen_bit_values);
73 const std::unique_ptr<polar::scl_list> d_scl;
75 void initialize_list(
const float* in_buf);
76 const unsigned char* decode_list();
77 void decode_bit(
const int u_num);
78 void calculate_llrs_for_list(
const int u_num);
79 void set_bit_in_list(
const int u_num);
Class holds common methods and attributes for different decoder implementations.
Definition: polar_decoder_common.h:28
Successive cancellation list (SCL) decoder for polar codes.
Definition: polar_decoder_sc_list.h:39
~polar_decoder_sc_list() override
static generic_decoder::sptr make(int max_list_size, int block_size, int num_info_bits, std::vector< int > frozen_bit_positions, std::vector< uint8_t > frozen_bit_values)
void generic_work(void *in_buffer, void *out_buffer) override
std::shared_ptr< generic_decoder > sptr
Definition: generic_decoder.h:62
#define FEC_API
Definition: gr-fec/include/gnuradio/fec/api.h:18
GNU Radio logging wrapper.
Definition: basic_block.h:29