Coder Social home page Coder Social logo

Comments (2)

fscottfoti avatar fscottfoti commented on July 19, 2024

Hmm, to be clear, precompute doesn't precompute the aggregations, it computes and saves the nodes that are available within a distance. So if you were doing an aggregation within 3000 meters you would need all the nodes within 3000 meters. I don't think you're saying you want to do an aggregation with a hole in the middle, like a donut right? At any rate, there wouldn't be any way to save time - you'd still have to traverse all the nodes in the graph on your way out, and you'd just optimize the nodes you save, which would save memory. I'm not sure there's a way to speed up what you're asking for - doing regional queries at the pedestrian scale does indeed take a lot of time. Let me know if I'm misinterpreting.

from pandana.

sablanchard avatar sablanchard commented on July 19, 2024

@fscottfoti ah yes that is right all the nodes < the value still need to be traversed so it seems that a speed up cannot be achieved. Figuring out a way to pickle the pre-computed network seems to be the best option then. Will close the feature request unless there are any other ideas on this topic.

from pandana.

Related Issues (20)

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.