mirror of
https://github.com/aicodix/code.git
synced 2026-04-27 14:30:36 +00:00
renamed PolarCodeConst0 to BhattacharyyaFreezer
This commit is contained in:
parent
1b7383a541
commit
72e5b2240a
3 changed files with 4 additions and 4 deletions
|
|
@ -50,8 +50,8 @@ int main()
|
|||
std::cerr << "better SNR: " << better_SNR << std::endl;
|
||||
double probability = std::exp(-pow(10.0, better_SNR / 10));
|
||||
if (1) {
|
||||
auto freeze = new CODE::PolarCodeConst0<M>;
|
||||
std::cerr << "sizeof(PolarCodeConst0<M>) = " << sizeof(CODE::PolarCodeConst0<M>) << std::endl;
|
||||
auto freeze = new CODE::BhattacharyyaFreezer<M>;
|
||||
std::cerr << "sizeof(BhattacharyyaFreezer<M>) = " << sizeof(CODE::BhattacharyyaFreezer<M>) << std::endl;
|
||||
(*freeze)(frozen, M, K, probability);
|
||||
delete freeze;
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue