MCPcopy Create free account
hub / github.com/aff3ct/aff3ct / build

Method build

src/Factory/Module/Decoder/Polar_PAC/Decoder_polar_PAC.cpp:75–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73
74template<typename B, typename Q>
75module::Decoder_SIHO<B, Q>*
76Decoder_polar_PAC ::build(const std::vector<bool>& frozen_bits,
77 const module::CRC<B>* crc,
78 module::Encoder<B>* encoder) const
79{
80 return new module::Decoder_polar_PAC_SCL_naive<B, Q, tools::f_LLR<Q>, tools::g_LLR<B, Q>>(
81 this->K, this->N_cw, this->L, frozen_bits, this->conv);
82 throw spu::tools::cannot_allocate(__FILE__, __LINE__, __func__);
83}
84
85// ==================================================================================== explicit template instantiation
86#include "Tools/types.h"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected