use a higher order but less loops

This commit is contained in:
Ahmet Inan 2024-02-22 11:15:44 +01:00
commit 350ec59037
2 changed files with 6 additions and 6 deletions

View file

@ -18,14 +18,14 @@ int main()
{ {
#if 1 #if 1
// BCH(127, 64) T=10 // BCH(127, 64) T=10
const int O = 2; const int O = 4;
const int N = 127; const int N = 127;
const int K = 64; const int K = 64;
const int NR = 20; const int NR = 20;
const int loops = 1000; const int loops = 10;
const double low_SNR = -5; const double low_SNR = -5;
const double high_SNR = 5; const double high_SNR = 5;
const double QEF_SNR = 1.5; const double QEF_SNR = -1.5;
typedef CODE::GaloisField<7, 0b10001001, uint8_t> GF; typedef CODE::GaloisField<7, 0b10001001, uint8_t> GF;
std::initializer_list<int> minpols { std::initializer_list<int> minpols {
0b10001001, 0b10001111, 0b10011101, 0b10001001, 0b10001111, 0b10011101,

View file

@ -20,14 +20,14 @@ int main()
const bool oracle = true; const bool oracle = true;
#if 1 #if 1
// BCH(127, 64) T=10 // BCH(127, 64) T=10
const int O = 2; const int O = 4;
const int N = 127; const int N = 127;
const int K = 64; const int K = 64;
const int NR = 20; const int NR = 20;
const int loops = 1000; const int loops = 10;
const double low_SNR = -5; const double low_SNR = -5;
const double high_SNR = 5; const double high_SNR = 5;
const double QEF_SNR = 1.5; const double QEF_SNR = -2;
typedef CODE::GaloisField<7, 0b10001001, uint8_t> GF; typedef CODE::GaloisField<7, 0b10001001, uint8_t> GF;
std::initializer_list<int> minpols { std::initializer_list<int> minpols {
0b10001001, 0b10001111, 0b10011101, 0b10001001, 0b10001111, 0b10011101,