⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cmp_exact_apps_on_tree.py

📁 著名的ldpc编解码的资料及源代码
💻 PY
字号:
"""This regression test decodes various tree codes via brute forceand makes sure the results correspond to the output of thesum-product algorithm."""from pycodes.utils.testing import *p = 0.15TestLDPCCodeOnBSC('(7,6) Single Parity Check Code',7,6,1,[range(7)],p,1)TestLDPCCodeOnBSC('(5,3) Double Parity Check Code',5,3,2,[[0,1,2],[2,3,4]],                  p,2)TestLDPCCodeOnBSC('(7,4) Triple Parity Check Code',7,4,3,                  [[0,1,2],[2,3,4],[4,5,6]],p,3)TestLDPCCodeOnBSC('(7,6) Single Parity Check Code',7,6,1,[range(7)],p,1,                  verbose=0,evType='r',alg='LRSumProductBP')TestLDPCCodeOnBSC('(5,3) Double Parity Check Code',5,3,2,[[0,1,2],[2,3,4]],                  p,2,verbose=0,evType='r',alg='LRSumProductBP')TestLDPCCodeOnBSC('(7,4) Triple Parity Check Code',7,4,3,                  [[0,1,2],[2,3,4],[4,5,6]],p,3,                  verbose=0,evType='r',alg='LRSumProductBP')

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -