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

Method build_viterbi

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

Source from the content-addressed store, hash-verified

262
263template<typename B, typename Q>
264module::Decoder_SIHO<B, Q>*
265Decoder_RSC ::build_viterbi(const std::vector<std::vector<int>>& trellis) const
266{
267 if (this->buffered)
268 {
269 throw spu::tools::invalid_argument("Viterbi decoder is incompatible with buffered encoding. "
270 "Please add --enc-no-buff or choose another decoder.");
271 }
272 return new module::Decoder_Viterbi_SIHO<B, Q>(this->K, trellis, true);
273}
274
275template<typename B, typename Q>
276module::Decoder_SIHO<B, Q>*

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected