-
Notifications
You must be signed in to change notification settings - Fork 18
Commands
Zishan Fu edited this page Sep 9, 2019
·
5 revisions
GeoSparkSim provides option fields which user can interactively play with GeoSparkSim and personalize their requests.
java -cp GeoSparkSim.jar com.zishanfu.geosparksim.GeoSparkSim \
-c <command> \
-f <output path> \
-h <help> \
-ln1 <longitude 1> \
-ln2 <longitude 2> \
-lt1 <latitude 1> \
-lt2 <latitude 2> \
-m <manuscript path> \
-n <number of vehicles> \
-o <ui> \
-s <simulation steps> \
-t <timestep> \
-y <generation type> \
-v <version>
| Parameters | Type | Description | Default Value |
|---|---|---|---|
| -lt1 | double | Latitude 1 | 33.48998 |
| -ln1 | double | Longitude 1 | -112.10964 |
| -lt2 | double | Latitude 2 | 33.38827 |
| -ln2 | double | Longitude 2 | -111.79722 |
| -n | int | The number of vehicles | 10000 |
| -s | int | The simulation steps | 600 |
| -t | double | Time per step | 1 |
| -f | string | Output file path | |
| -y | string | Vehicle generation type. (DSO or NB) | DSO |
| -o | boolean | Only run the interactive interface | |
| -c | boolean | Run all parameters in command line (experiment) | |
| -m | string | Manuscript path | |
| -h | boolean | Print usage help and exit | |
| -v | boolean | Print version information and exit |
Create a file with name geosparksim.config
app.name=GeoSparkSim
geo1.lat=33.48998
geo1.lon=-112.10964
geo2.lat=33.38827
geo2.lon=-111.79722
vehicle.type=DSO
vehicle.num=4000
simulation.timestep=1
simulation.step=600
simulation.output=/home/zishanfu/Downloads/geosparksim