This small project implements Hamming code, positive-negative code and a combined one. To test performance of those error correcting codes, a binary symmetric channel is also implemented.
- encode74.java & decode74.java: Hamming74 code.
- encodeCustom.java & decodeCustom.java: positive-negative code.
- encodeCombined.java & decodeCombined.java: positive-negative followed by Hamming74.
- bscSIM.java: binary symmetric channel with default fail probability 0.2
- generateCharSet.cpp: generate all chars of ascii table.
- build.bat: to compile all source files.
- testCharSet.bat: test all coding methods using charSet.
- testArticle.bat: test all coding methods using an article.
- charSet.txt & article.txt: test data.