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

Method build_siso

src/Factory/Module/Decoder/RSC_DB/Decoder_RSC_DB.cpp:97–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95
96template<typename B, typename Q>
97module::Decoder_RSC_DB_BCJR<B, Q>*
98Decoder_RSC_DB ::build_siso(const std::vector<std::vector<int>>& trellis, module::Encoder<B>* encoder) const
99{
100 if (this->max == "MAX") return _build_siso<B, Q, tools::max<Q>>(trellis, encoder);
101 if (this->max == "MAXS") return _build_siso<B, Q, tools::max_star<Q>>(trellis, encoder);
102 if (this->max == "MAXL") return _build_siso<B, Q, tools::max_linear<Q>>(trellis, encoder);
103
104 throw spu::tools::cannot_allocate(__FILE__, __LINE__, __func__);
105}
106
107template<typename B, typename Q>
108module::Decoder_SIHO<B, Q>*

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected