You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 4990b85
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: examples/README.md
+9-1Lines changed: 9 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,4 +5,12 @@ This folder contains two JSON files that describe towns and major roads in Queen
5
5
-`places.json` describes place names, UTM coordinates
6
6
-`routes.json` describes routes between towns as a set of tuples (start town, end town, distance, road type) where road type is 1 for a major road, and 2 for a minor road (worse quality, lower average speed)
7
7
8
-
`roads.py` loads these files, creates an embedded graph, and find an
8
+
`roads.py` loads these files, creates an embedded graph, and finds the shortest
9
+
path from Hughenden to Brisbane using A*, then plots the graph with the path overlaid.
10
+
11
+
`benchmark.py` times the key operations (building, copying, pickling, components,
12
+
`closest`, the matrix forms and the three path planners) on random geometric graphs
13
+
of 100, 1 000 and 10 000 vertices and prints a table, including how each cost grows
14
+
with the size of the graph. `--directed` uses `DGraph`, `--quick` skips the largest
15
+
graph, and `--rst` prints the table as reST for the documentation. Timings depend
16
+
on the machine, so compare runs made on the same one.
0 commit comments