Commit Graph

4021 Commits

Author SHA1 Message Date
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
Dustin Carlino
ebf31c33e6 preserve plot settings over time. also dropdowns 2020-04-06 14:05:59 -07:00
Dustin Carlino
5868fe4736 let plots have a chance to update themselves. hacky. 2020-04-06 12:16:54 -07:00
Dustin Carlino
694b1f6cc9 prep for all plots to have toggleable series. 2020-04-06 11:41:06 -07:00
Dustin Carlino
fadae3aa85 improve checkbox API, use it for colored minimap checkboxes 2020-04-06 11:12:23 -07:00
Dustin Carlino
696077a460 new release 2020-04-05 18:27:00 -07:00
Dustin Carlino
3e462cda90 cargo fmt, mostly just to trigger [rebuild] 2020-04-05 18:20:19 -07:00
Orestis
ec29ade70e
Pandemic modeling (#46)
* i think I managed to add a field that analyses who stands at a bus stop

* draining the people at waiting a bus stop in analytics and resturning the stopid, pedestrianid and times of arrival and leave

* trying to add sccache to see if it speeds up the compil

* small update

* need libm to have the erf function

* added pandemic stuff

* must check probabilities bug with them

* removed explicit sane state and refactored probas to correct bug. looks to be working. added info about pandemic situation

* moved the code of transition E/I/R

* i think its working now. every time we check for a dt around t0 + tinf

* updated value

* removed warning from mutable_borrow_reservation_conflict

* updated comments

* started adpting code

* refactoring models

* game compiles. must still adapt overla

* corrected bug

* added count of different catergories of people

* added quarantined state to see how it work but nothing implemented yet. trying to generalize a bit parameters

* made the model a bit more generic. not there yet though

* corrected bug

* rustfmt

* Update game/src/common/overlays.rs

Co-Authored-By: Dustin Carlino <dabreegster@gmail.com>

* Update sim/src/pmodel/mod.rs

Co-Authored-By: Dustin Carlino <dabreegster@gmail.com>

* Update sim/src/pandemic.rs

Co-Authored-By: Dustin Carlino <dabreegster@gmail.com>

* corrected compilation error. and bug

* modified the dir structure

Co-authored-by: Dustin Carlino <dabreegster@gmail.com>
2020-04-05 13:41:37 -07:00
Dustin Carlino
2ef76b5e7c generate nicer active agent area diagram, use in jump-to-time 2020-04-05 13:10:31 -07:00
Dustin Carlino
ae96627711 add the separator to split btns 2020-04-05 12:16:51 -07:00