Skip to content

zishanfu/GeoSparkSim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GeoSparkSim is a scalable microscopic traffic simulator, which extends Apache Spark to generate large-scale road network traffic data and help data scientists to simulate, analyze and visualize large-scale traffic data. GeoSparkSim converts road networks into Spark graphs, simulates vehicles to Vehicle Resilient Distributed Datasets (VehicleRDDs) and provides a simulation-aware vehicle partitioning method to parallelize simulation steps, balance workload and handle the dynamic spatial distribution.

It is mainly developed by the contributors from Data Systems Lab

Note

GeoSparkSim team is developing new feature under dev. Please use the version in stable branch to generate your data.

Installation

  • Download GeoSparkSim repository or run command

    git clone https://github.com/zishanfu/GeoSparkSim.git

  • Run cd GeoSparkSim

  • Run mvn clean install under GeoSparkSim folder

Get Start

  • Run command java -cp target/GeoSparkSim-1.0-SNAPSHOT-jar-with-dependencies.jar com.zishanfu.geosparksim.GeoSparkSim -h

  • Run GeoSparkSim with -o to show the user interface

  • Run GeoSparkSim in standalone mode
  ./spark-folder/bin/spark-submit
  --class com.zishanfu.geosparksim.GeoSparkSim
  target/GeoSparkSim-1.0-SNAPSHOT-jar-with-dependencies.jar
  • Run GeoSparkSim in distributed mode
  ./spark-folder/bin/spark-submit
  --master <master-url>
  --class com.zishanfu.geosparksim.GeoSparkSim
  target/GeoSparkSim-1.0-SNAPSHOT-jar-with-dependencies.jar

References

Questions

Please contact [email protected]

About

Scalable Microscopic Traffic Simulation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages