Dustin Carlino
6696049b09
note in trip panel when a path isnt possible anymore
2020-05-06 09:54:58 -07:00
Dustin Carlino
e1c827ed24
adjust signal timing and workaround an intersection with unrealistically
...
large geometry, and... lakeslice runs!
2020-05-05 20:29:50 -07:00
Dustin Carlino
ed4cf78b23
better diversion viz, using percent change
2020-05-05 13:18:19 -07:00
Dustin Carlino
7dd392b27f
make the prebaking a little more flexible; cut off lakeslice at noon for now
2020-05-05 12:31:00 -07:00
Dustin Carlino
ed5b35ffd9
differential throughput layer. what routing diversions are happening?
2020-05-05 11:55:30 -07:00
Dustin Carlino
9569fd6159
filter out access=no roads. removes the old 520 entrance that's causing lots of unrealistic border traffic in lakeslice. add a map to study west seattle
2020-05-05 09:46:03 -07:00
Dustin Carlino
6877189da7
actually, allow disconnecting some parking via edits
2020-05-04 15:33:18 -07:00
Dustin Carlino
4ffabadaf2
prevent creating new parking blackholes before confirming edits. the
...
check is too conservative right now.
2020-05-04 15:04:39 -07:00
Dustin Carlino
0f39ea46ce
simple idea: render roads/intersections with a low zorder as slightly transparent. makes downtown and 99 more palatable
2020-05-04 14:05:43 -07:00
Dustin Carlino
ce0c5d4d04
update osm. stop crashing when switching to map without weekday scenario
2020-05-04 13:25:06 -07:00
Dustin Carlino
fe739c92fa
make parking availability layer toggle on/off street
2020-05-04 12:50:33 -07:00
Dustin Carlino
1f10882dbc
new layer to show backpressure
2020-05-02 17:08:00 -07:00
Dustin Carlino
f1ac0dccc0
new city: Barranquilla
2020-05-02 15:43:19 -07:00
Dustin Carlino
078d349568
warmup: optionally filter border trips from trip table and parking
...
overhead
2020-05-02 08:42:34 -07:00
Dustin Carlino
02c5b6617b
dismantle importing for neighborhoods. long unused. just retain a simple
...
osmosis polygon editor.
2020-05-01 14:11:41 -07:00
Dustin Carlino
270c7d0712
just small cleanups. taking a break from gridlock / map quality for a while.
2020-05-01 11:50:35 -07:00
Dustin Carlino
01bd4aec6f
clean up some fallout from the grand data refreshening. mostly
...
robustifying tutorials/challenges by using IDs stable across map updates
2020-05-01 10:54:43 -07:00
Dustin Carlino
dbc47aee7d
fresh osm, finally. accept some regression, charge forward
...
montlake: FINE!
23rd: naw
lakeslice: regression
2020-04-30 22:37:43 -07:00
Dustin Carlino
7a551277f1
prebake lakeslice data
2020-04-30 19:11:51 -07:00
Dustin Carlino
543d95a41c
new lights, get lakeslice working again. and add absolute counts to
...
intersection demand viz
2020-04-30 18:00:51 -07:00
Dustin Carlino
e1a40e0b97
make a variant of the trip table that shows parking overhead
2020-04-30 09:36:57 -07:00
Dustin Carlino
cea84757e1
making a little progress with ballard
2020-04-29 18:49:14 -07:00
Dustin Carlino
50ab88d3bb
woops, when a cycle is detected, sometimes two cars start going. 23rd
...
without fixes NOW COMPLETES :O
2020-04-29 15:27:02 -07:00
Dustin Carlino
c0b5ead639
display the blocked_by graph in debug mode
2020-04-29 12:34:09 -07:00
Dustin Carlino
a2533244a4
temporarily? hardcode some exceptions to dont-block-the-box to make some
...
progress on 23rd
and tiny little cleanups
2020-04-29 11:14:53 -07:00
Dustin Carlino
ca22cadb0e
UI warmup: icons to describe overall trip mode
2020-04-29 09:37:16 -07:00
Dustin Carlino
18779c10ad
organizing data/input by city. (I tried organizing everything in data/,
...
but it's too big a change. small steps.)
2020-04-28 12:28:37 -07:00
Dustin Carlino
bba8ac9941
remove the screenshot MANIFEST; the more general one suffices
2020-04-28 11:39:10 -07:00
Dustin Carlino
a311750493
remove code for the extremely defunct a/b test mode. just a refactoring burden at this point.
2020-04-27 20:54:25 -07:00
Dustin Carlino
55c8a9d875
use colorous for heatmaps
2020-04-27 18:48:19 -07:00
Dustin Carlino
077035aacb
better offstreet parking rendering: don't jitter the parking icon, face
...
the correct direction unparking, make the driveway line extend from the
sidewalk line
2020-04-27 17:29:20 -07:00
Dustin Carlino
fe84b81e85
trip table: another sortable column, filter by type, pagination
2020-04-27 14:40:56 -07:00
Dustin Carlino
9bd7871d3a
start reviving the traffic signal challenge. ditch the tutorial, add a
...
cutscene
2020-04-27 12:03:25 -07:00
Dustin Carlino
e2cbb7a3e4
enable the new gridlock cycle breaker by default; it's helping immensely and doesnt seem to have problems
2020-04-27 11:18:36 -07:00
Dustin Carlino
77918358f1
restore the commute challenges [rebuild]
2020-04-26 14:05:00 -07:00
Dustin Carlino
94a567853b
fix the escort tutorial. fixes #52 . also fix the parking availability
...
tutorial, now that there's lots of offstreet parking
2020-04-26 13:14:09 -07:00
Dustin Carlino
3d91b5ae8e
fix bike/car tutorial. compare slowest trip before with slowest trip
...
after.
2020-04-26 12:56:51 -07:00
Dustin Carlino
193ff2344a
require a particular directed road for spawning from borders
2020-04-26 12:35:07 -07:00
Dustin Carlino
0eaf33ff46
stop generating RNGs from entropy. use the prebaked seed by default. allow explicitly changing the rng, but no use for that yet
2020-04-26 11:38:32 -07:00
Dustin Carlino
1f9e9f5479
woops, didnt regenerate popdat.bin after a change yesterday, causing all the driving trips to disappear. just regenerating data.
...
and add a hint to the tutorial to fix #51
2020-04-26 11:29:32 -07:00
Dustin Carlino
1ecea0a88f
delete old code for scoring things in currently inactive challenge
...
modes. counting ongoing trips is complicated from a player perspective
and also expensive in analytics. has the nice side-effect of forcing me
to make one of the tutorial levels more robust
2020-04-25 21:29:48 -07:00
Dustin Carlino
275d1f846b
make remote trips work properly. plumb through events for them.
2020-04-25 16:47:32 -07:00
Dustin Carlino
725e9e4532
generate a scenario purely with off-map trips. problems running it, but
...
good start.
2020-04-25 15:18:27 -07:00
Dustin Carlino
8be319300b
fold the popdat crate into importer; nothing else should have any dependencies on it
2020-04-25 13:14:48 -07:00
Dustin Carlino
2c774224ce
ahhh the free offstreet spots were not being generated at ALL correctly
2020-04-25 12:54:51 -07:00
Dustin Carlino
2b0a1c2447
parked cars and info panels: center on them, be explicit about being
...
parked inside, list owned vehicles better, say how many spots are free
2020-04-25 12:15:49 -07:00
Dustin Carlino
3ee2c91a10
plumb OffMapLocation through events
2020-04-24 23:07:13 -07:00
Dustin Carlino
34c61ce007
plumb OffMapLocation a little further into the sim. give the player a
...
little info about off-map locations.
2020-04-24 22:41:51 -07:00
Dustin Carlino
dd1c9f936d
plumb through exact off-map locations from popdat->scenario
2020-04-24 22:05:33 -07:00
Dustin Carlino
55e0d2a364
overhauling offstreet parking model:
...
- almost all buildings can have a few spots
- render things a little differently
- increase paranoia of buildings that can have driveways, to avoid many
complicated simulation issues
2020-04-24 12:50:22 -07:00
Dustin Carlino
855bba7cc8
more alert locations. use to easily jump to cars entering/exiting
...
parking inside buildings.
2020-04-23 20:23:39 -07:00
Dustin Carlino
597ee6c47e
use Event::Alert instead of random println's, and make better controls for handling these
2020-04-23 16:09:32 -07:00
Dustin Carlino
6594de3000
remove a hack from multi-day trips and stumble upon the people needing
...
10 cars
also prebake data again
2020-04-23 12:37:21 -07:00
Dustin Carlino
03d8eb0f8f
expose some info on vehicle ownership. only a few people (in the
...
montlake scenario) have 2 cars, and only one crazy person has 3.
reasonable.
2020-04-23 12:07:59 -07:00
Dustin Carlino
6e31eb76e4
one person might need multiple cars. urgh.
...
marathon of a change. it... seems correct.
2020-04-23 11:50:06 -07:00
Dustin Carlino
c57700f4dc
fix the darn scrolling reset when opening up trips for a person
2020-04-23 09:51:39 -07:00
Dustin Carlino
11d106e26a
associate vehicles with people, not trips
2020-04-22 19:57:25 -07:00
Dustin Carlino
e1d34558b7
associate ped speed with people, not trips. remove redundant gunk from
...
some of the triplegs and specs and such
2020-04-22 18:53:13 -07:00
Dustin Carlino
36ed6395e6
some fixes for interactively spawned agents. merge back into master!!!
2020-04-22 16:34:26 -07:00
Dustin Carlino
c4c61cf7d9
recording and communicating delayed starts
2020-04-22 16:16:17 -07:00
Dustin Carlino
6ef3a180a3
start to simplify the dynamic nabbing of parked cars
2020-04-22 14:39:02 -07:00
Dustin Carlino
98b76c0759
be a little more clear in the UI what's going on with aborted trips
2020-04-22 13:53:07 -07:00
Dustin Carlino
1dcdec0a43
when a trip is aborted, warp the person to their destination. get rid of the concept of Limbo.
...
except for aborted trips (which warp the person to their destination),
people now have continuity! </end breakage>
2020-04-22 13:27:33 -07:00
Dustin Carlino
2a98f4ea27
Person now has a fixed pedestrian, car, and bike ID. <start massive breakage>
2020-04-22 09:43:03 -07:00
Dustin Carlino
22a83184fb
spawner asks for agent IDs from trips, instead of computing itself
2020-04-22 08:47:59 -07:00
Dustin Carlino
2b861ff667
handle tiny geometry in traffic signal editor, and bring in new traffic
...
signals
2020-04-21 18:18:43 -07:00
Dustin Carlino
c7e14a78fc
delete the clear_laggy_head_early experiment. i think i understand the real problem, and this makes the next change harder.
2020-04-21 13:42:09 -07:00
Dustin Carlino
ca03d92a01
improve the gridlock buster. get rid of false positives from failing to
...
dedupe requests, and only trigger for cycles involving the original
agent
2020-04-21 13:29:39 -07:00
Dustin Carlino
067cc5b307
plumb through alerts from the sim that pause the UI, use for gridlock
2020-04-21 12:17:01 -07:00
Dustin Carlino
09e9e52042
starting an idea to allow conflicting turns when there's a cycle. bad
...
implementation and not working yet, but flagged off
2020-04-21 11:32:22 -07:00
Dustin Carlino
c89a4c6bb9
validate scenarios are continuous. they... aren't, so disable the
...
validation. :P
2020-04-20 15:32:31 -07:00
Dustin Carlino
09c77ee705
creating a new map to study lake wash blvd. for now, disabling all
...
mapfixes.
2020-04-20 15:11:04 -07:00
Dustin Carlino
40eed3f116
show parking utilization of a single lane over time
2020-04-20 11:30:19 -07:00
Dustin Carlino
50cca5ce5e
when clicking on a building, show the "closest" parking spot
2020-04-20 10:51:18 -07:00
Dustin Carlino
7bf899cab8
make a second part to the optimize commute challenge. just optimize two separate people. [rebuild]
2020-04-19 14:55:24 -07:00
Dustin Carlino
5cf0b72bac
avoid a few crashes, mostly involving trips that were aborted in the
...
baseline
2020-04-19 12:40:21 -07:00
Dustin Carlino
d80513235d
defer choosing a starting lane for borders in scenarios, to respond to lane edits
2020-04-19 10:51:23 -07:00
Dustin Carlino
6d9695fb59
fix a bug where a crosswalk and road turn group incorrectly conflicted.
...
was causing a crash trying to edit traffic signals downtown
2020-04-18 19:42:48 -07:00
Dustin Carlino
2e374ef684
make trip table look like a table, not an unaligned abomination of
...
lovecraftian geometry
2020-04-18 18:25:53 -07:00
Dustin Carlino
59a5680895
try a new before/after toggle for trip info [rebuild]
2020-04-17 12:40:27 -07:00
Dustin Carlino
0005feb0ac
adjust time warp experience for trips
2020-04-17 12:22:55 -07:00
Dustin Carlino
7dab105d19
show trip by ordinal per person. use prebaked to spice up future trip
...
info.
2020-04-17 11:16:42 -07:00
Dustin Carlino
9c11dc4787
try heatmap for commute viz
2020-04-17 10:39:36 -07:00
Dustin Carlino
6564e121e8
a better block partitioning
2020-04-17 10:05:49 -07:00
Dustin Carlino
6c75a67050
draw some arrows [rebuild]
2020-04-16 19:31:50 -07:00
Dustin Carlino
2f9ee33336
prototyping a way to group buildings into blocks, for commute viz
2020-04-16 19:00:07 -07:00
Dustin Carlino
a721757e59
some info panel tweaks from yuwen
2020-04-16 18:20:48 -07:00
Dustin Carlino
b5381db25c
remembering high scores, showing on challenge page
2020-04-16 17:29:04 -07:00
Dustin Carlino
14b38f917e
add a link from person->their parked car, and show the percentage of
...
population with a car
2020-04-16 13:19:17 -07:00
Dustin Carlino
371d98ba03
skip to end of commute challenge as soon as last trip is done. show
...
sentiment of matching goal so far or not
2020-04-16 12:49:36 -07:00
Dustin Carlino
ec409742e7
work around parking leak for multi-day scenarios
2020-04-15 16:36:56 -07:00
Dustin Carlino
97d31fe682
remove the fixed end-of-day; make it easier to jump to times in multi-day scenarios
2020-04-15 16:26:01 -07:00
Dustin Carlino
a104088ccd
pt2: rest of sim layer, which forces the UI changes too
2020-04-15 15:48:16 -07:00
Dustin Carlino
35c193eebc
associated parked cars with people, not buildings
...
pt1: scenario layer
2020-04-15 15:01:49 -07:00
Dustin Carlino
b7be5aa804
filter trip summaries by modes, better scatter plot tooltip
2020-04-15 13:41:16 -07:00
Dustin Carlino
6b356bbc01
fix the contingency table filtering, make it easy to see scatter plot
...
diagonal, and get headless buildign again
2020-04-15 12:34:03 -07:00
Dustin Carlino
0418a48a23
organize dashboards into modules. move active agents to a separate dash tab. make the filter also apply to the numeric summary
2020-04-15 12:13:39 -07:00
Dustin Carlino
4038a68e9d
prevent editing sidewalks in lane editor too. fixes #48
2020-04-15 09:24:00 -07:00
Dustin Carlino
bb06c3c9a8
kill off the weird old histograms, clean up the trip summary page
2020-04-14 16:33:04 -07:00
Dustin Carlino
83c2100cd5
better filtering of unchanged trips
2020-04-14 16:17:26 -07:00
Dustin Carlino
3361a17449
fixes for contingency table: counts, autocropping, filter out same
...
trips, better tooltips
2020-04-14 16:01:30 -07:00
Dustin Carlino
f9ac07d07d
implement julian's contingency table-ish thing. buggy, but a start
2020-04-14 15:38:03 -07:00
Dustin Carlino
ec81c4d03a
optionally filter the scatterplot for changes only, and fix rounding for
...
small numbers
2020-04-14 13:26:58 -07:00
Dustin Carlino
bde09a08e4
scatter plot: move to ezgui, add a grid, interactive cursor
2020-04-14 12:50:16 -07:00
Dustin Carlino
1c3bab61f9
round up the labels in the scatterplot
2020-04-14 11:54:09 -07:00
Dustin Carlino
bf2f2eccfd
monochrome scale for delay, and more info on the bike lane layer
2020-04-13 15:30:56 -07:00
Dustin Carlino
0d22127b76
consistent wording everywhere for Before/After changes
2020-04-13 14:20:07 -07:00
Dustin Carlino
4286349bda
toggle between timelines in current/baseline. organize code to
...
distinguish clearly between future, ongoing, finished trips [rebuild]
2020-04-13 12:35:45 -07:00
Dustin Carlino
8e01a8e55b
table sort order part of the tabs [rebuild]
2020-04-12 20:12:47 -07:00
Dustin Carlino
03c00bcb3b
remove the defunct bus challenge for now. hide the traffic signal challenge. fix up the cutscene style a bit.
2020-04-12 11:20:22 -07:00
Dustin Carlino
1060ed208f
adding a cutscene to a challenge mode
2020-04-12 09:37:46 -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
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
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
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
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
fadae3aa85
improve checkbox API, use it for colored minimap checkboxes
2020-04-06 11:12:23 -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
fec2bb51ca
start organizing ezgui internal constants into a Style struct
2020-04-05 11:57:27 -07:00
Dustin Carlino
0bec946dce
resurrect another color scheme idea
2020-04-04 18:28:30 -07:00
Dustin Carlino
b62c293104
start some in-progrss color schemes for rapid prototyping
2020-04-04 18:13:45 -07:00
Dustin Carlino
5a28f399fc
convert to horizontal color legend in few more places
2020-04-04 17:03:26 -07:00
Dustin Carlino
2c38a945e9
overlays: include layer icon, adjust padding, try a horizontal scale for
...
pop map, smaller text, better "X" buttons
2020-04-04 16:35:53 -07:00
Dustin Carlino
d995a494dd
dont draw some overlays when zoomed in
2020-04-04 16:01:44 -07:00
Dustin Carlino
c477897b1b
always display layer's panel, even when zoomed in
2020-04-04 14:54:11 -07:00
Dustin Carlino
51d91640e4
load different colorschemes in another way
2020-04-04 14:29:45 -07:00
Dustin Carlino
b09c7d2726
moved rest of colors over
2020-04-04 14:15:34 -07:00
Dustin Carlino
8b6485b233
persistent split buttons for time increments. still need few tweaks, but
...
largely there
2020-04-04 13:22:14 -07:00
Dustin Carlino
edffcf3db7
small time/speed panel changes. also learning a little more about when
...
padding actually works in flexbox...
2020-04-04 12:06:06 -07:00
Dustin Carlino
4d8ab45750
slowly moving string colors to the struct
2020-04-04 10:59:51 -07:00
Dustin Carlino
fd80a7f2a9
starting the grand colorscheme refactor (there really are lots of grand
...
refactors lately). plumbing and replacing constants / floating methods
2020-04-04 10:16:18 -07:00
Dustin Carlino
af2708df67
goodbye eyes, hello colored checkboxes. also switch to a vertical
...
visibility panel when unzoomed. [rebuild]
2020-04-03 17:41:20 -07:00
Dustin Carlino
eedbb2b967
rearrange minimap controls. nearly matching the new design.
2020-04-03 16:46:11 -07:00
Dustin Carlino
e0acc4973b
actually, i don't need to support changing font or size mid-line yet. simplifies some info panel code.
2020-04-03 14:26:17 -07:00
Dustin Carlino
24acb27934
force override width to make the table look nice
2020-04-03 13:35:20 -07:00
Dustin Carlino
5ba468f4cf
SVG border-radius is sometimes a lie. mimic the dirty trick.
2020-04-03 13:22:05 -07:00
Dustin Carlino
2d4095fd8d
except for layout/style, I think the trip/agent panels now have the
...
right information
2020-04-03 13:02:23 -07:00
Dustin Carlino
88bad05d39
clean up agent properties. lots of tweaks needed, but i'm exhausted
2020-04-02 21:36:19 -07:00
Dustin Carlino
51a81fc74d
handle people being in the same building, bus stop, and bus in one
...
uniform way. also the first unit tests in an amusingly long time
2020-04-02 16:08:20 -07:00
Dustin Carlino
29c86d656d
plumb more info in sim events. this will allow for some consolidated pandemic modeling
2020-04-02 15:12:46 -07:00
Dustin Carlino
c12775e5ea
change the pandemic model to be a first-class, optional part of Sim
2020-04-02 14:30:18 -07:00
Dustin Carlino
1e63078096
pandemic model ideas:
...
- use a priority queue to handle events more sanely
- seed with all people
2020-04-02 13:38:14 -07:00
Dustin Carlino
0b6418bdb6
finally make autocomplete a real widget
2020-04-02 13:33:42 -07:00
Dustin Carlino
6f56bf64bf
dismantle the old draw_text_at, clean up a few more ezgui APIs and
...
callers
2020-04-02 12:02:14 -07:00
Dustin Carlino
a31d3baf1d
create a spinner widget, replace some bad heatmap sliders with it
2020-04-02 11:03:27 -07:00
Dustin Carlino
87cc45752d
better person headers
2020-04-01 17:18:29 -07:00
Dustin Carlino
ef90c6935c
use the locate header button to follow/unfollow people
2020-04-01 15:50:11 -07:00
Dustin Carlino
70875d104d
Scenario should just have specific trips. split a different structure for generating Scenarios. has the happy side effect of removing lots of weird old spawning code, duplicated checks
2020-04-01 13:50:36 -07:00
Dustin Carlino
9138097e9e
add a legend to the heatmap
2020-04-01 11:49:09 -07:00
Dustin Carlino
5c69c6e221
change heatmap to use gaussian instead of weird diffusion. still looks
...
odd.
2020-04-01 11:38:41 -07:00
Dustin Carlino
b28507c247
don't crash when prebaked analytics gets out of sync
2020-04-01 09:17:52 -07:00
Dustin Carlino
648cca2673
use the new generic histograms to draw heatmap colors binned by percentile, not fixed size buckets (although actually this is bad too! TODO: log scale)
2020-03-31 21:28:05 -07:00
Dustin Carlino
62b49ad884
refactor: properly generic histogram, and remove unnecessary boilerplate
...
from Plot. Rust generics are so awesome.
2020-03-31 20:57:50 -07:00
Dustin Carlino
e12e788716
work on more small style improvements of info panels [rebuild]
2020-03-31 17:27:25 -07:00
Dustin Carlino
2181d8a56d
two sanity refactors
...
- btreeset macro
- switch to "ID #123 " by default
2020-03-31 16:40:07 -07:00
Dustin Carlino
f733763f73
get trip panel closer to the new design. start trying to use fixed size
...
panels [rebuild]
2020-03-31 15:46:46 -07:00
Dustin Carlino
509eb87bf5
merge status and trips pages. and go back to latest lyon after fix in
...
https://github.com/nical/lyon/issues/558
2020-03-31 14:45:07 -07:00
Dustin Carlino
8ed2d596ff
basic accordians for trips
2020-03-31 14:21:03 -07:00
Dustin Carlino
7be5b3f34a
change settings live for traffic/delay graphs [rebuild]
2020-03-31 12:31:40 -07:00
Dustin Carlino
6809330dda
um, heatmap implementation had a very big problem, counting only one person per bldg. fixed. also changed my mind on splitting the overlay method for pandemic/normal
2020-03-31 10:47:24 -07:00
Dustin Carlino
c49fc20a88
checkbox to toggle running the pandemic model in the population map
2020-03-31 10:33:59 -07:00
Dustin Carlino
7f35d06c96
prototyping an example of finding overlapping time indoors by "infected"
...
agents
2020-03-30 22:12:48 -07:00
Dustin Carlino
2cce8b5446
info panel for bus stop links to bus panels. delete the very weird overlays. [rebuild]
2020-03-30 18:00:28 -07:00
Dustin Carlino
cfacb90777
make dashboard show bus routes, then jump to a bus
2020-03-30 17:46:39 -07:00
Dustin Carlino
a2b064099e
reorganize bus info when clicking on an actual bus
2020-03-30 17:39:14 -07:00
Dustin Carlino
06bb5e08e6
refactoring Color / FancyColor. remove hatching style 1
2020-03-30 16:15:32 -07:00
Dustin Carlino
0fb22b5f50
sloppy (and incorrect!) implementation of gradients. temporarily breaks
...
non-glium backends, about to cleanup.
2020-03-30 15:48:23 -07:00
Dustin Carlino
336e942464
small tweaks after the end of the info panel / contextual action
...
overhaul
2020-03-30 10:49:11 -07:00
Dustin Carlino
3900494b2e
add back some form of the follow/unfollow control
2020-03-30 10:15:53 -07:00
Dustin Carlino
403232e48e
woops, fix a tutorial crash from the refactor. and tweak a few info
...
panels [rebuild]
2020-03-28 23:05:24 -07:00
Dustin Carlino
da67fb0da1
seed actions correctly after warping
2020-03-28 19:05:01 -07:00
Dustin Carlino
16bef09ff9
stop putting action buttons on every tab
2020-03-28 18:56:52 -07:00
Dustin Carlino
49604f158e
clean up the old per_obj key actions
2020-03-28 18:52:28 -07:00
Dustin Carlino
36979a2ae6
and tutorial, the last hurdle
2020-03-28 18:40:09 -07:00
Dustin Carlino
12c0809b23
converting the spawner over, one of the most complex
2020-03-28 17:48:50 -07:00
Dustin Carlino
56544d6b14
working on debug mode
2020-03-28 17:09:36 -07:00
Dustin Carlino
f32eaae197
porting some things for sandbox mode
2020-03-28 15:38:04 -07:00
Dustin Carlino
3307e1a41b
trying to reign in the OSD. everything's good enough for the scenario
...
editor. trying other modes now.
2020-03-28 15:12:17 -07:00
Dustin Carlino
6172fa5215
prototyping a different way of specifying contextual actions
2020-03-28 14:55:54 -07:00
Dustin Carlino
dd9b43c990
simplify TurnCyclerState, only use it in sandbox mode. prep for cleaning up context-sensitive actions
2020-03-28 11:41:24 -07:00
Dustin Carlino
6135fe606a
highlight a certain person in a building [rebuild]
2020-03-27 16:36:23 -07:00
Dustin Carlino
a48f7a69b7
woops, dont forget cars parked inside buildings
2020-03-27 16:27:24 -07:00
Dustin Carlino
d922edf7dc
oh hey, fixing the agent meters layouting was actually really easy
2020-03-27 16:19:03 -07:00
Dustin Carlino
555b793910
draw people inside buildings!
2020-03-27 16:08:38 -07:00
Dustin Carlino
e2cc9dbb55
improving trip details, adding links to src/goal [rebuild]
2020-03-27 15:02:11 -07:00
Dustin Carlino
4d3133df91
restoring old info panel functionality... action btns, live update,
...
warping, outlines [rebuild]
2020-03-27 12:31:11 -07:00
Dustin Carlino
5c44f5c667
quick cleanup. ID::Person and ID::Trip no longer make sense, woot
2020-03-27 11:46:09 -07:00
Dustin Carlino
49870c0f9f
continuing with some of the harder info tabs. got everything moved over!
2020-03-27 11:41:56 -07:00
Dustin Carlino
fff8c8ae9d
try a huge cutover to the new info panel organization. few implemented,
...
going to do this in another branch
2020-03-27 10:37:26 -07:00
Dustin Carlino
ccaaff82be
scrap the individual finished trips dashboard
2020-03-27 09:21:59 -07:00
Dustin Carlino
94a18c5f5f
stubbing out some info for people [rebuild]
2020-03-27 08:49:57 -07:00
Dustin Carlino
863ed5877a
approaching a better style for info panel tabs
2020-03-27 08:07:34 -07:00
Dustin Carlino
69dab9e27d
typography overhaul... [rebuild]
2020-03-26 15:42:37 -07:00
Dustin Carlino
3ba43cbd23
alright, different building->people hops. minimal info in the list, jump to totally new panel.
2020-03-26 14:37:12 -07:00
Dustin Carlino
cf53915931
wait, the time bar's color was too complicated. I think I have problems
...
following basic directions.
2020-03-26 14:18:41 -07:00
Dustin Carlino
6d32db9865
add color to the time panel
2020-03-26 11:11:09 -07:00
Dustin Carlino
02a9a97bbc
beef up person schedule page. plumb markers like hyperlinks...
2020-03-25 16:39:33 -07:00
Dustin Carlino
ce180f7228
merge TripStart and TripEnd
2020-03-25 13:42:33 -07:00
Dustin Carlino
f89fcb9b93
stop associating trips with buses. it makes no sense.
2020-03-25 13:18:16 -07:00
Dustin Carlino
0bed515bc6
more info about inactive trips
2020-03-25 12:22:19 -07:00
Dustin Carlino
4d690a2777
scroller for ped crowds
2020-03-25 11:25:51 -07:00
Dustin Carlino
b58cb470f6
cleanup settings page by using the new type-safe dropdowns
2020-03-24 23:36:38 -07:00
Dustin Carlino
dad4c9bef2
more fluidly glue together agents, trips, people
2020-03-24 22:47:06 -07:00
Dustin Carlino
76c0ecff43
OSM stuff in debug tab. list all trips per person, stub out unstarted
...
trips
2020-03-24 15:05:28 -07:00
Dustin Carlino
fdcb0e15bf
slightly better API for make_table
2020-03-24 13:50:19 -07:00
Dustin Carlino
3c075f3e55
refactor tabs a bit [rebuild]
2020-03-24 13:41:03 -07:00
Dustin Carlino
c4942a0d2a
add tabs to buildings. temporarily whittle down duplicated code, before the grand Outcome refactor
2020-03-24 13:10:33 -07:00
Dustin Carlino
cbc214ed38
tab-ify lanes and intersections, in a really messy quick way
2020-03-24 11:26:17 -07:00
Dustin Carlino
8b1f66a3ed
clarify modes on main menu
2020-03-24 10:06:26 -07:00
Dustin Carlino
e22727ee98
reorganizing info panel code, splitting into modules
2020-03-23 14:25:16 -07:00