- I just upload my Arithmetic coding algorithm
- Arithmetic coding 알고리즘 입니다.
-
main.cpp의 main 함수 내 vector symbols 에 중복되는 symbol 없이 symbol들을 작성해주세요
-
Just write symbols on vector symbols without overlap
-
vector p에 vector symbols와 같은 순서로 각 심볼들의 확률을 작성해주세요
-
On vector p write each symbol's probability sequentially
-
word에는 전송할 string으로서 symbol의 조합으로 반드시 이루어진 string을 작성해주세요
-
In string word please write string which is composited with vector symobls 's components, this string is for sending
-
현재 예외처리 같은게 없기 때문에 반드시 생성자 -> CalcRange -> ArithmeticAlgorithm -> GenCodeWords -> PrintCode 순서로 실행 시켜주세요
-
Now I haven't write exception part so, toy should run squentially like Class Generator -> CalcRange -> ArithmeticAlgorithm -> GenCodeWords -> PrintCode
-
끝
-
Done
-
10.31 Update
-
디코딩 기능이 추가되었습니다.
-
Decoding function is added.
-
디코드를 하고 싶다면 위의 과정을 진행 후 Decode 함수를 호출해보세요.
-
If you want to test it just call Decode function.