Code Monkey home page Code Monkey logo

bicycle_link_prioritization's Introduction

Bicycle_link_prioritization

Because cycling is an effective solution for making urban transport more sustainable, many cities worldwide are currently announcing extensive bicycle network development plans. These plans typically outline hundreds of kilometers of new links to be built over several years. However, the links in most of these plans are not ordered, and it is unclear how to prioritize them to reach a functional network as fast as possible. This package propose an automatized method that optimally prioritizes all links in a given bicycle network plan. We start from a plan, with potentially an already built network. To go from the initial stage to the final stage, we propose several growth strategy, with options to either keep the network connected, or to proceed in an additive or subtractive order. Greedy optimization can be done on directness and coverage.

To add as a local package

Based on the The Good Research Code Handbook, you should:

  • Put yourself on your virtual environment and on the folder, such as /bicycle_link_prioritization
  • Run pip install -e .

". indicates that we’re installing the package in the current directory. -e indicates that the package should be editable. That means that if you change the files inside the [source] folder, you don’t need to re-install the package for your changes to be picked up by Python."

Other useful package

To manipulate simplified network, we use the package NERDS_OSMnx. Based on the simplification function of OSMnx (Boeing, G. 2017. "OSMnx: New Methods for Acquiring, Constructing, Analyzing, and Visualizing Complex Street Networks." Computers, Environment and Urban Systems 65, 126-139. doi:10.1016/j.compenvurbsys.2017.05.004) we adapt it to our use to be able to simplify graph while discriminating for an attribute, and add the possibility to transform a NetworkX MultiDiGraph object to a Graph object.

bicycle_link_prioritization's People

Contributors

csebastiao avatar

Stargazers

Michael Szell avatar  avatar

Watchers

Michael Szell avatar  avatar

bicycle_link_prioritization's Issues

environment fails due to mkl-random

`Solving environment: failed

ResolvePackageNotFound:

  • mkl-random=1.2.2`

I suggest removing this package. Random numbers can be generated already through standard numpy. Also this package does not seem to be used anywhere in the code.
After removal, the env can be created.

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.