Commit Graph

3830 Commits

Author SHA1 Message Date
Dustin Carlino
1060ed208f adding a cutscene to a challenge mode 2020-04-12 09:37:46 -07:00
Dustin Carlino
aa765f70ed cargo +nightly fmt 2020-04-11 19:07:48 -07:00
Orestis
c811c7e044
New state-machine-like pandemicmodel (#47)
* started porting to new algo. init done

* continuing adaptation

* conitnuing the work

* added state machine model. needs testing now

* updated pèandemic model with state machine

* removed mod

* removed warnings

* added dead

* removed useless stuff

* adapted game too
2020-04-11 19:06:29 -07:00
Dustin Carlino
30198b956d adjust scatter plot size just to trigger [rebuild] 2020-04-11 15:50:40 -07:00
Dustin Carlino
bbdfc71deb smooth heatmap and apply the gaussian in an approximated circle. from omalaspinas' branch https://github.com/omalaspinas/abstreet/tree/change_overlay 2020-04-11 15:39:15 -07:00
Dustin Carlino
5d275b09e3 merge the new trip table with the old dashboards 2020-04-11 15:38:46 -07:00
Dustin Carlino
b7eda16443 move experimental stuff off the trip results page. start deleting old
dashboard stuff.
2020-04-11 14:58:40 -07:00
Dustin Carlino
cd043be4ce move the histogram out of ezgui while things are in flux. rename plot -> line plot 2020-04-11 14:43:05 -07:00
Dustin Carlino
d9016a7fc3 simple scatter plot idea for comparing trip times 2020-04-11 13:17:52 -07:00
Dustin Carlino
57e2d6a03a make the table layouting a little better 2020-04-11 12:03:42 -07:00
Dustin Carlino
dd4ebfc98d add a column to the trip table for % change in trip time 2020-04-11 11:33:13 -07:00
Dustin Carlino
6580360f99 fix map editor. also, apparently Cargo.lock should be under version control for binary crates 2020-04-10 20:00:13 -07:00
Dustin Carlino
3318d6aa8a round attempt at simplifying the Histogram -- scrap special handling for zero and negatives 2020-04-10 12:42:33 -07:00
Dustin Carlino
ddd98d315e remove the old trip histogram, make room for cleaning it up 2020-04-10 12:15:24 -07:00
Dustin Carlino
7c67c8673a load edits from the CLI 2020-04-10 12:08:04 -07:00
Dustin Carlino
69a8b88583 experimenting with new summaries of trip diffs 2020-04-10 11:44:47 -07:00
Dustin Carlino
5ea58c0e49 open info panels focus on peope better, even inside buildings. and dont focus on parked cars. 2020-04-10 10:46:22 -07:00
Dustin Carlino
57240b9b6d warp to person should open up a person's info panel no matter what
[rebuild]
2020-04-09 15:21:05 -07:00
Dustin Carlino
c2ecd1e06d sort ascending or descending, to look at improved trips too. and fix a
bug counting lanes in a modified path
2020-04-09 14:43:09 -07:00
Dustin Carlino
bced89ce85 less dumb choices for nearest parking spot, ordering by distance and not number of lanes 2020-04-09 14:20:12 -07:00
Dustin Carlino
ff093e79f4 pick the closest parked car when dynamically reserving 2020-04-09 14:02:56 -07:00
Dustin Carlino
ff68a77979 have to fork rng again to prevent ped speeds from changing. wow. 2020-04-09 13:02:10 -07:00
Dustin Carlino
f0c0d88764 the new table makes the population map's weird filter irrelevant. also
add sorting by delta time
2020-04-09 12:28:11 -07:00
Dustin Carlino
a34b7acb8b start a new UI to explore finished trips 2020-04-09 11:25:55 -07:00
Dustin Carlino
2fefcb535a use time warp to jump to trip start 2020-04-09 09:28:16 -07:00
Dustin Carlino
a1b24b1a29 wire in info on commuter's trips 2020-04-08 18:26:59 -07:00
Dustin Carlino
5ad78f62d3 launch info panels more robustly for people 2020-04-08 17:56:36 -07:00
Dustin Carlino
ef2a237c5d start wiring together a new challenge mode to optimize a single commute. (and delete an old challenge mode that's really unspecified and doesnt have any interesting code to preserve) 2020-04-08 17:47:00 -07:00
Dustin Carlino
eb1ea20a37 tool to rewind and go watch a trip 2020-04-08 16:29:43 -07:00
Dustin Carlino
3e49134088 track blocked time for finished trips, make a way to find people with
high blocked times
2020-04-08 15:50:25 -07:00
Dustin Carlino
008ac27abb new controls to filter population and pandemic layers in useful ways 2020-04-08 14:31:59 -07:00
Dustin Carlino
100b4a2dc1 split the pandemic layer from the population layer 2020-04-08 13:58:35 -07:00
Dustin Carlino
35491be909 start to split layers code into modules. this should become a trait, but not quite ready for that 2020-04-08 13:31:13 -07:00
Dustin Carlino
fb7cfc5513 sort people in bldg panel by time till next trip 2020-04-08 12:43:31 -07:00
Dustin Carlino
7e07448098 in trip panels, show comparison to trip time in baseline 2020-04-08 12:33:15 -07:00
Dustin Carlino
c53f6fdc97 start in scenario mode more intelligently from CLI 2020-04-08 11:25:22 -07:00
Dustin Carlino
9591699463 start working on cancelling future trips. uncovered a few bugs, but this
is a step forwards
2020-04-08 10:38:26 -07:00
Dustin Carlino
b508a0a8f8 show individual pandemic state in info panels (and some formatting
tweaks)
2020-04-08 08:50:44 -07:00
Dustin Carlino
d4af10ae2d fix email formatting 2020-04-07 17:55:11 -07:00
Dustin Carlino
e4e83e225a update credits 2020-04-07 17:46:29 -07:00
Dustin Carlino
ac3e4ee233 update an ezgui API from another branch, so the git diff isnt crazy 2020-04-07 17:02:06 -07:00
Dustin Carlino
6b7d7891df tweak name of parking layer, and dont have to zoom out anymore, since the minimap will change 2020-04-07 16:01:38 -07:00
Dustin Carlino
8d785c3645 publish a proper roadmap / job listing 2020-04-07 15:38:53 -07:00
Dustin Carlino
2ddb3a4f2b just rename overlay -> layer in the code, be consistent with naming in the UI 2020-04-07 14:13:25 -07:00
Dustin Carlino
2afd83a1b9 orient all layer scales from good (green) to bad (red). make better
labels.
2020-04-07 14:12:03 -07:00
Dustin Carlino
09c4cf7284 fix some layouting problems in the layers panel 2020-04-07 12:38:28 -07:00
Dustin Carlino
00994535cd fade map before drawing layers 2020-04-07 11:48:12 -07:00
Dustin Carlino
cd420fe3c0 warmup: refactor overlay colors into the centralized place 2020-04-07 11:21:53 -07:00
Dustin Carlino
22ea48a355 repeat a weekday scenario many times to experiment with longer-term pandemic modelling 2020-04-06 15:20:29 -07:00
Dustin Carlino
7ff9a90516 use colored checkboxes in plot too. generate the shape programatically. 2020-04-06 14:45:22 -07:00