Ride-sharing simulator for research and simulator development.
Multithreaded simulator for ride-sharing for research and simulator development.
The project parts:
- Osm file processing for custom roadmap and 2 built in roadmaps: Tel Aviv, and Berlin.
- Multithreaded simulator.
- Gui.
Algorithms:
- Shortest path with multiple stops algorithms (TSP/SHPP on steroids).
- Matching algorithm.
Author Kfir Ettinger.
- Osmosis - Java application for processing OSM data.
- GraphStream - Java library for the modeling and analysis of dynamic graphs.
- Multi-Threaded simulator.
Clone the project
git clone https://github.com/kfiree/RideShare.gitGo to the project directory
cd RideShareInstall dependencies
mvn clean # always good to clean before install
mvn installrun via cmd:
Usage: rideShare.exe [.pbf map path] [-n] [-s] [-l] [-b] [-c]
Options:
-m Load PBF file (use saved map otherwise).
-s speed Speed of simulator.
Default: 10.
-l log-level Log level for console can be a number or a string value of 'java.util.logging.Level'.
-b 'y'/'n' Set bounds to the map.
-c max/min coordinates Set bounds coordinates - top latitude, bottom latitude, top longitude, bottom longitude.
Default: value will show center of israel.run example:
java -jar RideShare.jar -s 10 -l ALL -b yor via GUI:
Map chooser view:
Simulator view:
Simulator view:
- Use DeepPool for matching (AI).
Enjoy!






