Skip to content

2017103030/ArithmeticCoding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ArithmeticCoding

  • I just upload my Arithmetic coding algorithm
  • Arithmetic coding 알고리즘 입니다.
  1. main.cpp의 main 함수 내 vector symbols 에 중복되는 symbol 없이 symbol들을 작성해주세요

  2. Just write symbols on vector symbols without overlap

  3. vector p에 vector symbols와 같은 순서로 각 심볼들의 확률을 작성해주세요

  4. On vector p write each symbol's probability sequentially

  5. word에는 전송할 string으로서 symbol의 조합으로 반드시 이루어진 string을 작성해주세요

  6. In string word please write string which is composited with vector symobls 's components, this string is for sending

  7. 현재 예외처리 같은게 없기 때문에 반드시 생성자 -> CalcRange -> ArithmeticAlgorithm -> GenCodeWords -> PrintCode 순서로 실행 시켜주세요

  8. Now I haven't write exception part so, toy should run squentially like Class Generator -> CalcRange -> ArithmeticAlgorithm -> GenCodeWords -> PrintCode

  9. Done

  10. 10.31 Update

  11. 디코딩 기능이 추가되었습니다.

  12. Decoding function is added.

  13. 디코드를 하고 싶다면 위의 과정을 진행 후 Decode 함수를 호출해보세요.

  14. If you want to test it just call Decode function.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages