Coder Social home page Coder Social logo

entropy-compressed-rs-dict's Introduction

Practical Entropy-Compressed Rank/Select Dictionary

У меня есть ощущение, что это очень важно, посмотрим.

B - bitvector, |B| = n

rank(x, S) - number of ones in B[0, x]

select(i, S) - the position of the i-th one from left in B

nH0(S) = mlog(n/m) + (n-m)log(n/(n-m)) - "zero-th order empirical entropy" - просто посчитали число единиц (m), прикинули вероятности как отношения #(1)/n и #(2)/n

Kак вывод, они хранят enumerativeCodes, rank-directories для LB, SB и указатели на SLB в явном виде + такая же таблица, как у Jacobson'а. Итого расход по памяти как в Якобсоне, только доп поинтеры (n/(log(n)^2)) для SLB, но зато хранится не оригинальный битмап, а nH0.

Source

https://arxiv.org/pdf/cs/0610001.pdf

[2] T. Cover. Enumerative source encoding.

entropy-compressed-rs-dict's People

Contributors

hardworkar avatar

Watchers

 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.