Skip to content

Use Cargo simulator to arrange school bus time

Notifications You must be signed in to change notification settings

Lyther/Cargo-impl

Repository files navigation

Cargo-impl

Innovation project. Use Cargo system to dynamically arrange the bus time schedule, and measure how well it is.

Be aware: Done lists and todo lists should be put in the root folder Document/ If you face any questions, raise an issue Let's play with Cargo!

File structure:

  • Bus-digital-twin: our project file, with some useful tools and API. The usage of tools can be found in README.md in Tools/ folder. But currently, it seems that position of bus is down.
  • Cargo: simple Cargo platform, DO NOT commit to this folder directly with compiled Cargo, but commit modified source code, In order to reduce size. I would do some change to this system using C++, but now there is nothing different with original Cargo.
  • Document: put all the documents here, and try to avoid commit non-binary files.
  • Ridesharing-Social-Network: our secondary experiment! Let's play with social network!

Usage

​ I've already put all the compiled files into repo, and you only need to open example/launcher to run the simulation.

​ But if you want to re-compile everything, you need to install several things:

sudo apt install libmetis-dev
sudo apt install libglpk-dev

​ To generate organizations from instances, run the create_organization.py tool. The result is the social network file.

​ Besides, you should generate GTree for specify road network using gtreebuilder, the output .gtree file should has the same name with .rnet file, and be put in the same folder.

​ To re-compiler all the source code, you need to run following instructions:

cd Cargo/
make clean
make
cd exmaple/
make clean
make

​ The launcher can be used to test algorithms.

About

Use Cargo simulator to arrange school bus time

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published