Commit Graph

390 Commits

Author SHA1 Message Date
Dustin Carlino
d4a2ecb693 show both future routes for diffing single agent 2018-10-23 10:17:43 -07:00
Dustin Carlino
dd0578d504 dont cancel diff worlds when an agent is mode-switching 2018-10-23 10:04:11 -07:00
Dustin Carlino
9883da6fa8 fix bugs with follow plugin at the end of the trip 2018-10-22 16:32:58 -07:00
Dustin Carlino
9660794467 show route by trip, not agent 2018-10-22 14:39:25 -07:00
Dustin Carlino
afa52e4bad follow a trip, not a ped/car, so mode changes matter less 2018-10-22 14:30:51 -07:00
Dustin Carlino
9c1ae28bf8 ped trace_routes were wrong for contraflow steps 2018-10-22 13:16:30 -07:00
Dustin Carlino
a1ac8cf7dd plugin to show diff for all agents 2018-10-22 11:22:16 -07:00
Dustin Carlino
144fa638d0 reduce import list in ui 2018-10-22 10:57:37 -07:00
Dustin Carlino
02477d6717 moving plugins to a generic list 2018-10-22 10:45:14 -07:00
Dustin Carlino
feefa8dc34 move draw to the Plugin trait 2018-10-22 09:56:17 -07:00
Dustin Carlino
ce293cdd38 reorder the plugins to be grouped simply 2018-10-22 09:41:23 -07:00
Dustin Carlino
0b07ef94d9 use vectors instead of match, and have a constant for number of plugins.
still kind of repetitive, but better.
2018-10-22 09:19:42 -07:00
Dustin Carlino
f278019560 cleanup: rename the trait 2018-10-22 09:06:02 -07:00
Dustin Carlino
b57a4335e0 porting the last two plugins to generic event() 2018-10-22 09:04:08 -07:00
Dustin Carlino
52535771e3 making road editor stateless; map should hold the changed edits 2018-10-22 08:39:32 -07:00
Dustin Carlino
2a00c9b25a converting all the rest to generic event()... 2018-10-21 21:40:08 -07:00
Dustin Carlino
21e2f1ce66 proof-of-concept make event() generic for two plugins 2018-10-21 20:25:24 -07:00
Dustin Carlino
47d385e40c splitting per-map plugins out too! 2018-10-21 20:15:38 -07:00
Dustin Carlino
e987282e3c removing UIWrapper 2018-10-21 19:28:17 -07:00
Dustin Carlino
523a6358fa moving list of plugin callbacks to UI directly 2018-10-21 19:23:27 -07:00
Dustin Carlino
1151ef81f1 making a more specific PluginCtx 2018-10-21 19:19:30 -07:00
Dustin Carlino
fd2b77f958 splitting UI plugins into another struct 2018-10-21 19:09:22 -07:00
Dustin Carlino
def2f60a92 refactor log adaptor stuff 2018-10-21 11:32:17 -07:00
Dustin Carlino
66bbdc0362 script to save all the maps with edits. no loading yet 2018-10-20 09:02:44 -07:00
Dustin Carlino
d6253a1721 dont draw stop sign on degenerate intersections 2018-10-18 15:28:34 -07:00
Dustin Carlino
1509a674b1 WIP some fixes to OSM->lane types
- roundabouts have less stuff
- simplify the code
- motorways and motorway links are just driving
- sidewalks on one-ways
2018-10-18 12:05:11 -07:00
Dustin Carlino
35566543f1 briefly play around with cpuprofiler and gperftools 2018-10-18 10:54:04 -07:00
Dustin Carlino
bb21c45394 weighted choice for how many cars per building 2018-10-17 16:22:33 -07:00
Dustin Carlino
3968a78166 only allow interactive spawning at the beginning 2018-10-17 15:01:36 -07:00
Dustin Carlino
d02c5004f9 clean up Pt2D::from_gps API 2018-10-17 13:14:10 -07:00
Dustin Carlino
b25046bd67 removing old, weird controls for interactively spawning stuff in the UI 2018-10-17 13:06:40 -07:00
Dustin Carlino
fade0f8883 UI plugin to show parked car / building associations 2018-10-17 12:29:46 -07:00
Dustin Carlino
98914ce208 peds only use the car associated with their building 2018-10-17 10:34:02 -07:00
Dustin Carlino
0d33a25d44 calm down DiffWorlds, not every agent has a trip -- buses and parked cars, namely 2018-10-17 10:10:22 -07:00
Dustin Carlino
299c7bdb2f seed parked cars per building, not per spot 2018-10-17 10:01:33 -07:00
Dustin Carlino
7919b0bd8d associating cars with an owner 2018-10-16 17:28:03 -07:00
Dustin Carlino
2c110a58f9 starting a very basic plugin to show differences between trips in parallel worlds 2018-10-16 14:48:41 -07:00
Dustin Carlino
41817d3e91 oops, nonsense option to start moving cars 2018-10-16 12:15:02 -07:00
Dustin Carlino
ebebce179a redo mouseover when plugins suddenly change the screen 2018-10-16 12:11:05 -07:00
Dustin Carlino
77786c9483 forking RNGs to keep SeedParking consistent 2018-10-16 11:39:16 -07:00
Dustin Carlino
80f6eb95b4 brainstorming edit-invariant trips. initial work to reference TripIDs,
which are independent of mode.
2018-10-14 14:01:03 -07:00
Dustin Carlino
053b426e58 plumb rng seed from CLI to a/b test 2018-10-13 17:31:30 -07:00
Dustin Carlino
90af8a84c6 woops, car pathfinding shouldnt use bike lanes. and A/B test manager
should set json filename
2018-10-13 16:34:02 -07:00
Dustin Carlino
25a1beba4e generalize traces a bit to handle 0-length turns properly 2018-10-13 16:05:52 -07:00
Dustin Carlino
f7f9b5ab70 plugin to find and show chokepoints 2018-10-13 15:24:14 -07:00
Dustin Carlino
99559fa578 also retain the logical pieces of a Trace, so we can next find chokepoints 2018-10-13 11:27:22 -07:00
Dustin Carlino
6dad7155aa swap sims 2018-10-09 21:44:26 -07:00
Dustin Carlino
4672994777 fixed one problem with ped trace_route... walking model is so complicated. >< 2018-10-09 17:43:22 -07:00
Dustin Carlino
dcbf373896 constructing traces way more directly. still broken for peds. :( 2018-10-09 16:14:48 -07:00
Dustin Carlino
d0f88f8d52 use new Trace for show_route plugin. handle 0-length turns 2018-10-09 14:36:53 -07:00