Giter VIP home page Giter VIP logo

Comments (3)

lh3 avatar lh3 commented on May 30, 2024 1

Specifically on van Emde Boas indexing, given the overall tree geometry, can one figure in constant time, the array index of the i'th node (from the left) on tree level L?

@mlin #2 has some related discussions.

from coitrees.

mlin avatar mlin commented on May 30, 2024

iitii is sensitive ("adaptive", if I'm spinning it) to the data; it's easy to come up with scenarios that revert it to cgranges equivalence. Though those may be rare in practice, coitrees has a constant factor advantage in the worst case.

If the data are compliant then iitii potentially has an asymptotic (in dataset size) advantage in the average case, since it skips search iterations. But the predicate is a strong one, so it's not a clear win. I've spent a little time trying to come up with a way to combine the ideas in iitii and coitrees, but nothing to speak of yet. It would help if it were possible to write closed or more-closed formulae for the van Emde Boas indices.

I don't know if I'd recommend iitii for practical usage anytime soon, it's more of an exploratory side-project for me. The indexing scheme in GenomicSQLite is not as fast, but has many other (overwhelming?) practical utilities.

from coitrees.

mlin avatar mlin commented on May 30, 2024

Specifically on van Emde Boas indexing, given the overall tree geometry, can one figure in constant time, the array index of the i'th node (from the left) on tree level L? iitii is just regressing the interval positions on that.

from coitrees.

Related Issues (9)

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.