Dustin Carlino
2c3fd09378
Add an example Python tool that works with the JSON map export. Support
...
specifying trip endpoints by building or intersection when importing
traffic demand data.
2020-10-07 15:37:59 -07:00
Dustin Carlino
d844646cb9
Implement per-road caps for #325 , necessitating a tiny map edits version
...
bump.
2020-10-06 14:17:55 -07:00
Dustin Carlino
9ccbf40dba
Merge the concept of cancelled and aborted trips, in preparation for storing the reason for cancellation, for #312
2020-10-03 10:41:53 -07:00
Dustin Carlino
f951b296f7
Cap all roads in the Python experiment. Right now, this'll unintentionally merge adjacent zones with the same cap into zones.
2020-10-01 15:13:18 -07:00
Dustin Carlino
2c0f3a13f7
Distinguish capped/uncapped trips in experiment results. #325
2020-09-24 18:08:05 -07:00
Dustin Carlino
0d8ab143f9
Slightly better error handling in the API
2020-09-24 17:26:46 -07:00
Dustin Carlino
da1921ae74
Do a few rounds of capping in the experiment. #325
2020-09-24 13:24:31 -07:00
Dustin Carlino
c9fbf67989
Rearrange headless API to explicitly apply edits at the same time as
...
specifying the scenario to run. #325
2020-09-24 13:14:49 -07:00
Dustin Carlino
07a8a21fec
Cap the busiest road. Not actually working yet, because all the commands
...
to manage edits are stomping on each other. #325
2020-09-24 12:08:46 -07:00
Dustin Carlino
47061fcb6c
Expose road throughput through the API. Start a second Python
...
experiment, refactor a bit. #325
2020-09-24 11:23:19 -07:00
Dustin Carlino
566f6a9e13
Port the Go experiment to Python
2020-09-23 15:00:38 -07:00
Dustin Carlino
9e38eedaaf
Plumb sim flags through headless properly. Make the Go experiment print
...
comparison results ASAP.
2020-09-15 13:47:04 -07:00
Dustin Carlino
82ea851a4e
Make the Go API example track the same people through different cancellation runs, evaluating how much time the 'survivors' are gaining or losing
2020-09-14 18:56:52 -07:00
Dustin Carlino
79d3db83ce
Measure runtime and detect gridlock in go example.
...
Findings: 12 hours of south seattle works fine with 60% trips cancelled,
but melts down at 50%
2020-09-14 14:46:56 -07:00
Dustin Carlino
122bc82867
Add flags to Go example, use it to figure out if downtown can run with lots of people cancelled
2020-09-14 12:37:21 -07:00
Dustin Carlino
2d24bb4a36
Add an API example in Go to measure trip times with different
...
percentages of people cancelled.
2020-09-10 11:44:11 -07:00
Dustin Carlino
5be4c2ca84
Add an API to add a new trip in the middle of the simulation. Fixes #313
...
[rebuild]
2020-09-06 13:53:31 -07:00
Dustin Carlino
a36ef99c06
Rename Phase -> Stage, to be more in line with standard traffic signal ( #302 )
...
controller terminology. Part of #197 .
Holding off on touching PhaseType and all of the serialized
seattle_traffic_signals format, since this will all change in Kyle's PR
anyway.
2020-08-28 17:19:23 -07:00
Dustin Carlino
0eb1309ace
Add an API to get back all of the map edits so far
2020-08-28 14:09:44 -07:00
Dustin Carlino
83a5df7886
Add an API for the Xi'an group to get agent positions
2020-08-26 09:22:33 -07:00
Dustin Carlino
11832aa606
Record throughput through a traffic signal by direction, expose through
...
the API (#245 ), and beef up the Python example.
Impact to prebaked file size is tiny -- for lakeslice, the original
intersection_thruput is 2MB and the new traffic_signal_thruput is 435KB.
[rebuild]
2020-08-22 09:13:16 -07:00
Dustin Carlino
2783c3e180
Expose the granular delays through an API for reinforcement learning ( #245 ).
2020-08-20 16:21:52 -07:00
Dustin Carlino
02569b1642
Get an end-to-end sample experiment working through the API and Python client
2020-08-18 12:52:38 -07:00
Dustin Carlino
5c337e2e8e
Add some methods to the headless API for manipulating traffic signals, and start a Python client example. Everything still WIP.
2020-08-18 11:31:20 -07:00