| 8 | |
| 9 | template<typename B, typename Q> |
| 10 | Extractor_RSC<B, Q>::Extractor_RSC(const int K, const int N, const int tail_length, const bool buffered_encoding) |
| 11 | : Extractor<B, Q>(K, N, tail_length) |
| 12 | , buffered_encoding(buffered_encoding) |
| 13 | , info_bits_pos(K, 0) |
| 14 | { |
| 15 | const std::string name = "Extractor_RSC"; |
| 16 | this->set_name(name); |
| 17 | for (auto& t : this->tasks) |
| 18 | t->set_replicability(true); |
| 19 | |
| 20 | if (buffered_encoding) |
| 21 | for (auto i = 0; i < K; i++) |
| 22 | info_bits_pos[i] = i; |
| 23 | else |
| 24 | for (auto i = 0; i < K; i++) |
| 25 | info_bits_pos[i] = 2 * i; |
| 26 | } |
| 27 | |
| 28 | template<typename B, typename Q> |
| 29 | Extractor_RSC<B, Q>* |
nothing calls this directly
no outgoing calls
no test coverage detected