Skip to content

Resources for the manuscript titled "Topology dependence of on-demand ride-sharing" by Molkenthin and Manik

License

Notifications You must be signed in to change notification settings

PhysicsOfMobility/ridesharing_topology_dependence

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DOI

This contains all the necessary resources to generate the figures in the article

Manik, D., Molkenthin, N. Topology dependence of on-demand ride-sharing. Appl Netw Sci 5, 49 (2020). https://doi.org/10.1007/s41109-020-00290-2, https://arxiv.org/abs/2001.09711.

HOWTO

  1. Install the software
# Create a new virtualenv and activate it
python3.6 -m venv venv
source venv/bin/activate
# install depndencies
pip install -r requirements.txt
pip install -e ./
  1. Download streetnetworks using OSMnx for figures 5-6. Execute generate_data_and_plot/gen_streetnetworks_for_simulations.ipynb.

  2. Run the simulations. This can be done by running generate_data_and_plot/generate_all_data.py. This is a time and resource intensive step, which is best done parallely in an HPC cluster. Ways to do so are described in generate_data_and_plot/cluster_generate_all_data.py

  3. Now the figures can be generated. Execute the notebooks generate_data_and_plot/fig_.*.ipynb.

About

Resources for the manuscript titled "Topology dependence of on-demand ride-sharing" by Molkenthin and Manik

Resources

License

Stars

Watchers

Forks

Packages

No packages published