Giter VIP home page Giter VIP logo

huffman-coding's Introduction

Huffman-Coding

This is part of groupwork of SCS class Information Theory and Coding 本组 信息论与编码 课程大作业的 Huffman编码部分

本代码实现:

| Huffman树及其节点的类定义
| 压缩和解压方法

使用方法请阅读HuffmanCoding 文件夹的 readme.txt文件

Tips:

1.编码大作业建议多种编码(Huffman/LZ/Algorithm)或者深入摸索代码,详细分析对比;

2.Huffman编码性能分析不那么直观,请留心码树情况和纯内容压缩比;

3.多进制码树的考量:假设4进制码树,以2bit表示1个码字字符,试计算符号数相同时和2进制码树的性能对比;

4.反对Copy,小心Code Check,超过一定比例按0分处理;本代码仅供参考。 (优化数据结构、把函数封装做得更好、添加多进制码树测试、GUI都是好想法,但时间有限)

huffman-coding's People

Contributors

pydxflwb avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.