Code Monkey home page Code Monkey logo

c-programming's People

Contributors

yangyongkang2000 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

muyuer6

c-programming's Issues

关于哈夫曼编码的压缩的一些问题

bool b = std::get<T>(*std::max_element(table.begin(), table.end(), [](auto &i, auto &j) {
            return std::get<T>(i) < std::get<T>(j);
        })) <= (L<T, 2> + 1);//最长的编码长度是否小于某个阈值

这个阈值是怎么确定的
以及存数据的bitset的table和普通的整型数table

 constexpr int N = std::is_same<T1, BT<T>>::value ? BIT<T> - 5 : BIT<T> - 3;
        constexpr int N1 = std::is_same<T1, BT<T>>::value ? BIT<T> : BIT<T> - 2;

这两个变量的含义是是什么

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.