From 7ca7dec87223f52c847463f67b05eb3773602ed8 Mon Sep 17 00:00:00 2001 From: f4exb Date: Tue, 2 Aug 2022 05:56:06 +0200 Subject: [PATCH] M17: Treillis code cleanup --- modemm17/Trellis.h | 23 ++--------------------- 1 file changed, 2 insertions(+), 21 deletions(-) diff --git a/modemm17/Trellis.h b/modemm17/Trellis.h index cf8d6fafb..dcc74ce52 100644 --- a/modemm17/Trellis.h +++ b/modemm17/Trellis.h @@ -88,12 +88,6 @@ struct NextStateTable } }; -template -struct OutputTable -{ - -}; - /** * Compute a cost table for a Trellis of size K, for input n of N, * and LLR size of LLR bits + 1. (i.e. LLR = 1 allows 2 bits to @@ -105,19 +99,6 @@ struct CostTable static constexpr int8_t Price = 1 << LLR; static constexpr size_t InputValues = 1 << N; using cost_table_t = std::array, K>; - - template - static constexpr cost_table_t makeCostTable() - { - cost_table_t result; - for (size_t i = 0; i != K; ++i) - { - for (size_t j = 0; j != InputValues; ++j) - { - - } - } - } }; @@ -136,8 +117,8 @@ struct Trellis polynomials_t polynomials; - Trellis(polynomials_t polys) - : polynomials(polys) + Trellis(polynomials_t polys) : + polynomials(polys) {} };