1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-21 23:55:13 -05:00

M17: Treillis code cleanup

This commit is contained in:
f4exb 2022-08-02 05:56:06 +02:00
parent bf5220a1f7
commit 7ca7dec872

View File

@ -88,12 +88,6 @@ struct NextStateTable
}
};
template <size_t N>
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<std::array<uint8_t, InputValues>, K>;
template <typename Trellis_>
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)
{}
};