-
Notifications
You must be signed in to change notification settings - Fork 0
/
Workflow.txt
34 lines (34 loc) · 996 Bytes
/
Workflow.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
REM first generate the map
cd graph
javac -cp "lib\*" graph\*.java main\*.java parsejsonmaps\*.java roads\*.java
java -cp ".;lib\*" main/ParseManager new-york_new-york-roads.geojson highway -100 100 -100 100 > map.tsv
cd ../
REM next analyze the map
cd Map
REM perform a DFS to find the size of disconnected components
perl map.pl
REM generate frequencies of each road type
perl mcount.pl
REM MAPM2 was converted to MAPM3 via a simple JS script (not included, but the code just reorganized the data a little)
cd ../
REM next run the astar search on the taxi data extracts (last 6 columns)
cd AStar/src
javac cs269\project\*.java
java -Xmx1000m cs269.project.AStar trip_data_1_position.csv
java -Xmx1000m cs269.project.AStar trip_data_2_position.csv
REM etc
cd ../../
REM next parse the taxi data
cd TripData
javac *.java
java lint
cd ../
REM next generate the volume data
cd VOLS
javac *.java
java lint
cd ../
REM finally generate the graphs (and make the movie)
cd Graphs
octave makehist.m
pause