mirror of
https://github.com/aicodix/code.git
synced 2026-04-27 22:35:44 +00:00
use our reliability sequence generator per default
This commit is contained in:
parent
217b986715
commit
91bec0b1e3
3 changed files with 3 additions and 3 deletions
|
|
@ -53,7 +53,7 @@ int main()
|
||||||
int K = (1 - erasure_probability) * N;
|
int K = (1 - erasure_probability) * N;
|
||||||
double design_SNR = 10 * std::log10(-std::log(erasure_probability));
|
double design_SNR = 10 * std::log10(-std::log(erasure_probability));
|
||||||
std::cerr << "design SNR: " << design_SNR << std::endl;
|
std::cerr << "design SNR: " << design_SNR << std::endl;
|
||||||
if (0) {
|
if (1) {
|
||||||
auto construct = new CODE::PolarSeqConst0<M>;
|
auto construct = new CODE::PolarSeqConst0<M>;
|
||||||
std::cerr << "sizeof(PolarSeqConst0<M>) = " << sizeof(CODE::PolarSeqConst0<M>) << std::endl;
|
std::cerr << "sizeof(PolarSeqConst0<M>) = " << sizeof(CODE::PolarSeqConst0<M>) << std::endl;
|
||||||
double better_SNR = design_SNR + 1.59175;
|
double better_SNR = design_SNR + 1.59175;
|
||||||
|
|
|
||||||
|
|
@ -55,7 +55,7 @@ int main()
|
||||||
int K = (1 - erasure_probability) * N;
|
int K = (1 - erasure_probability) * N;
|
||||||
double design_SNR = 10 * std::log10(-std::log(erasure_probability));
|
double design_SNR = 10 * std::log10(-std::log(erasure_probability));
|
||||||
std::cerr << "design SNR: " << design_SNR << std::endl;
|
std::cerr << "design SNR: " << design_SNR << std::endl;
|
||||||
if (0) {
|
if (1) {
|
||||||
auto construct = new CODE::PolarSeqConst0<M>;
|
auto construct = new CODE::PolarSeqConst0<M>;
|
||||||
std::cerr << "sizeof(PolarSeqConst0<M>) = " << sizeof(CODE::PolarSeqConst0<M>) << std::endl;
|
std::cerr << "sizeof(PolarSeqConst0<M>) = " << sizeof(CODE::PolarSeqConst0<M>) << std::endl;
|
||||||
double better_SNR = design_SNR + 1.59175;
|
double better_SNR = design_SNR + 1.59175;
|
||||||
|
|
|
||||||
|
|
@ -53,7 +53,7 @@ int main()
|
||||||
int K = (1 - erasure_probability) * N;
|
int K = (1 - erasure_probability) * N;
|
||||||
double design_SNR = 10 * std::log10(-std::log(erasure_probability));
|
double design_SNR = 10 * std::log10(-std::log(erasure_probability));
|
||||||
std::cerr << "design SNR: " << design_SNR << std::endl;
|
std::cerr << "design SNR: " << design_SNR << std::endl;
|
||||||
if (0) {
|
if (1) {
|
||||||
auto construct = new CODE::PolarSeqConst0<M>;
|
auto construct = new CODE::PolarSeqConst0<M>;
|
||||||
std::cerr << "sizeof(PolarSeqConst0<M>) = " << sizeof(CODE::PolarSeqConst0<M>) << std::endl;
|
std::cerr << "sizeof(PolarSeqConst0<M>) = " << sizeof(CODE::PolarSeqConst0<M>) << std::endl;
|
||||||
double better_SNR = design_SNR + 1.59175;
|
double better_SNR = design_SNR + 1.59175;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue