lowered ML-decoding threshold to K <= 4

This commit is contained in:
Ahmet Inan 2020-07-08 11:25:11 +02:00
commit 14967f8841

View file

@ -93,7 +93,7 @@ public:
}
}
// Chase algorithm
if (K > 6) {
if (K > 4) {
const int L = T;
int worst[L] = { 0 };
for (int k = 0; k < N; ++k) {
@ -114,7 +114,7 @@ public:
}
}
// maximum likelihood
if (K <= 6) {
if (K <= 4) {
for (int msg = 0; msg < W; ++msg) {
int enc = (msg << P) | par[msg];
update(enc);