Skip to content

Commit cdd1a8a

Browse files
author
grigory
committed
Merge branch 'feature/fix-installation'
2 parents d6b4dcc + 05fd31b commit cdd1a8a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+345
-837
lines changed

.travis.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
language: python
2+
python:
3+
- "3.6"
4+
- "3.7"
5+
- "3.8"
6+
install:
7+
- pip install -r requirements.txt
8+
script:
9+
- make test
File renamed without changes.

MANIFEST.in

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
include pyproject.toml
2+
3+
# Include the README
4+
include README.md
5+
6+
# Include the license file
7+
include LICENSE.txt

Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# -----------------------------------------------------------------------------
2+
# Run tests
3+
# -----------------------------------------------------------------------------
4+
5+
test:
6+
python -m unittest discover

README.md

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,25 @@ for snr in snr_range:
7373

7474
## TODO
7575

76-
[TODO List](TODO.md)
76+
### General
77+
78+
- [ ] Fix CRC-aided SC List decoder
79+
80+
### Polar code construction
81+
82+
- [ ] Arikan’s Monte-Carlo estimation [Section V.B](https://arxiv.org/pdf/1501.02473.pdf)
83+
- [ ] Trifonov’s Gaussian approximation [Section V.D](https://arxiv.org/pdf/1501.02473.pdf)
84+
85+
### Decoding
86+
- [ ] [SC STACK Decoding](https://ieeexplore.ieee.org/document/6215306)
87+
- [ ] [Fast SSC List Decoding](https://arxiv.org/pdf/1703.08208.pdf)
88+
- [ ] [Generalized Fast SSC LIST Decoding](https://arxiv.org/pdf/1804.09508.pdf)
89+
90+
### Modulation
91+
92+
- [ ] Q-PSK
93+
- [ ] 4-QAM
7794

7895
## License
7996

80-
[MIT License](LICENSE.MD)
97+
[MIT License](LICENSE.txt)

TODO.md

Lines changed: 0 additions & 21 deletions
This file was deleted.

pyproject.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[build-system]
2+
# These are the assumed default build requirements from pip:
3+
# https://pip.pypa.io/en/stable/reference/pip/#pep-517-and-518-support
4+
requires = ["setuptools>=40.8.0", "wheel"]
5+
build-backend = "setuptools.build_meta"
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
from .fast_ssc import FastSSCPolarCodec
2+
from .g_fast_ssc import GFastSSCPolarCodec
3+
from .rc_scan import RCSCANPolarCodec
4+
from .sc import SCPolarCodec
5+
from .sc_list import SCListPolarCodec
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
from .codec import GeneralizedFastSSCPolarCodec
2-
from .decoder import GeneralizedFastSSCDecoder
1+
from .codec import GFastSSCPolarCodec
2+
from .decoder import GFastSSCDecoder
33
from .node import GFastSSCNode

python_polar_coding/polar_codes/g_fast_ssc/codec.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22

33
from python_polar_coding.polar_codes.fast_ssc import FastSSCPolarCodec
44

5-
from .decoder import GeneralizedFastSSCDecoder
5+
from .decoder import GFastSSCDecoder
66

77

8-
class GeneralizedFastSSCPolarCodec(FastSSCPolarCodec):
8+
class GFastSSCPolarCodec(FastSSCPolarCodec):
99
"""Generalized Fast SSC code.
1010
1111
Based on: https://arxiv.org/pdf/1804.09508.pdf
1212
1313
"""
14-
decoder_class = GeneralizedFastSSCDecoder
14+
decoder_class = GFastSSCDecoder
1515

1616
def __init__(
1717
self,

0 commit comments

Comments
 (0)