Skip to content

kfiree/RideShare

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RideShare

Build Status

Ride-sharing simulator for research and simulator development.

Multithreaded simulator for ride-sharing for research and simulator development.

Features

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.

Logo

Tech

  • Osmosis - Java application for processing OSM data.
  • GraphStream - Java library for the modeling and analysis of dynamic graphs.
  • Multi-Threaded simulator.

Run Locally

Clone the project

  git clone https://github.com/kfiree/RideShare.git

Go to the project directory

  cd RideShare

Install dependencies

  mvn clean # always good to clean before install
  mvn install

run 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 y

or via GUI:

GUI Screenshots

Map chooser view:

welcome

custom map chooser

Simulator view:

tutorial1

tutorial2

Simulator view:

TLV roadmap Simulator

TLV roadmap Simulator

TODO (future work)

  • Use DeepPool for matching (AI).

Enjoy!

About

Multithreaded simulator for ride-sharing for research and simulator development.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages