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

Method build_viterbi_list

src/Factory/Module/Decoder/RSC/Decoder_RSC.cpp:276–285  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

274
275template<typename B, typename Q>
276module::Decoder_SIHO<B, Q>*
277Decoder_RSC ::build_viterbi_list(const std::vector<std::vector<int>>& trellis, const module::CRC<B>* crc) const
278{
279 if (this->buffered)
280 {
281 throw spu::tools::invalid_argument("Parallel list Viterbi decoder is incompatible with buffered encoding. "
282 "Please add --enc-no-buff or choose another decoder.");
283 }
284 return new module::Decoder_Viterbi_list_parallel<B, Q>(this->K, this->N_cw, this->L, *crc, trellis, true);
285}
286
287template<typename B, typename Q>
288module::Decoder_SIHO<B, Q>*

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected