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
|
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
|
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
|
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
|
c49fc20a88
|
checkbox to toggle running the pandemic model in the population map
|
2020-03-31 10:33:59 -07:00 |
|
Dustin Carlino
|
b16aceaa9a
|
be more precise with building entry/exit events. they can also happen when a car parks inside a building's garage. also emit events at the start of day to get rid of the weird initial case.
|
2020-03-30 22:31:36 -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
|
5bb5e70000
|
plumb PersonID in some events, to make it easier to do analysis about people spending time indoors
|
2020-03-30 09:36:02 -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
|
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
|
dad4c9bef2
|
more fluidly glue together agents, trips, people
|
2020-03-24 22:47:06 -07:00 |
|
Dustin Carlino
|
e22727ee98
|
reorganizing info panel code, splitting into modules
|
2020-03-23 14:25:16 -07:00 |
|
Dustin Carlino
|
4df64b4c83
|
remove last users of ModalMenu. so long, (some variant of) the original widget.
|
2020-03-22 20:59:44 -07:00 |
|
Dustin Carlino
|
d7886fa85b
|
move person counters to population panel
|
2020-03-22 10:34:32 -07:00 |
|
Dustin Carlino
|
3045f99266
|
stop plumbing back unused agent metadata from sim, now that ACS is gone
|
2020-03-21 13:13:46 -07:00 |
|
Dustin Carlino
|
760ee795e7
|
scrap intersection delay, make a new road-or-intersection delay, based just on waiting turns
|
2020-03-19 08:34:02 -07:00 |
|
Dustin Carlino
|
87e605a119
|
prototype a live dot map in debug mode
|
2020-03-18 19:17:54 -07:00 |
|
Dustin Carlino
|
41ce8fe8f3
|
force trips per person to be time ordered
|
2020-03-18 14:01:03 -07:00 |
|
Dustin Carlino
|
e47d5f7917
|
fix parking markings and where pedestrians walk for left-hand maps for #27
|
2020-03-17 10:09:44 -07:00 |
|
Dustin Carlino
|
8f285be4fe
|
jump from agent or trip to person, and from person to building and trips
|
2020-03-13 18:41:49 -07:00 |
|
Dustin Carlino
|
7775546a7e
|
really awkward manual way of going from building to people inside
|
2020-03-13 12:36:55 -07:00 |
|
Dustin Carlino
|
10a8466d5d
|
represent people in sim layer, track their state transitions
|
2020-03-12 16:28:47 -07:00 |
|
Dustin Carlino
|
5c8529a201
|
argh, fix bug in prev commit. seed_parked_car happens in the middle of the TripSpawner existing.
|
2020-03-12 15:53:06 -07:00 |
|
Dustin Carlino
|
87e9431f91
|
rearrange people/trips in the Scenario layer
|
2020-03-12 15:38:58 -07:00 |
|
Dustin Carlino
|
d852d69535
|
make TripSpawner a temporary setup object, not something permanently stored in Sim
|
2020-03-12 15:00:50 -07:00 |
|
Dustin Carlino
|
78407dd529
|
upgrade to rust 1.42 for better unwrap() errors and use of matches!
|
2020-03-12 12:55:48 -07:00 |
|
Dustin Carlino
|
4eae0c8394
|
trip timeline shows relative duration of each phase [rebuild]
|
2020-03-06 08:58:52 -08:00 |
|
Dustin Carlino
|
bd2cb6ddd1
|
first steps towards representing people, not just trips
|
2020-03-05 17:28:57 -08:00 |
|
Dustin Carlino
|
cc1ee8384a
|
enum for trip phases
|
2020-03-03 12:42:51 -08:00 |
|
Dustin Carlino
|
08cd956faa
|
filling out the trip timeline a bit more
|
2020-03-03 12:12:42 -08:00 |
|
Dustin Carlino
|
52eba43522
|
stop and warp to gridlock in jump-to-time
|
2020-02-28 15:19:37 -08:00 |
|
Dustin Carlino
|
e5d9d80c14
|
make sim stepping way more precise, doing minimal amount of time
advancement in the innermost layer
tested by making sure prebaked results don't budge
|
2020-02-28 14:52:41 -08:00 |
|
Dustin Carlino
|
e19f88cd40
|
experiment with finding sources of gridlock, exposed as a new heatmap
|
2020-02-26 12:13:28 -08:00 |
|
Dustin Carlino
|
0ee45bd0e7
|
track total time agents spend blocked vs moving. be more precise with
tracking blocked_since in the FSMs.
|
2020-02-26 09:56:57 -08:00 |
|
Dustin Carlino
|
db69dbd4df
|
fix the active agents calculation. buckets... don't make any sense.
|
2020-02-20 17:50:42 -08:00 |
|
Dustin Carlino
|
d29839fa27
|
display a plot of activity over the day. the windowing is incorrect! but
it's some kind of start
|
2020-02-20 15:11:50 -08:00 |
|
Dustin Carlino
|
848347a9b5
|
change up agent meters
|
2020-02-19 08:23:06 -08:00 |
|
Dustin Carlino
|
d112707261
|
more info about trips to/from bldgs and intersections [rebuild]
|
2020-02-18 15:15:31 -08:00 |
|
Dustin Carlino
|
0f0924ac56
|
restore an old debug tool to spot what agents are blocking an intersection. optional mode to avoid some gridlock... seemingly working for a few cases, but breaking other stuff, so disabled.
|
2020-02-18 08:40:05 -08:00 |
|
Dustin Carlino
|
d56803a12a
|
include ongoing trips in measured trip times. adjust wording of
"finished trips" things.
|
2020-02-17 15:58:27 -08:00 |
|
Dustin Carlino
|
d292e29ad0
|
get the game crate running in wasm. bundle in lots of data files, fake out a few more IO things, glue timer println's to console log
|
2020-02-15 16:44:06 -08:00 |
|
Dustin Carlino
|
b2c92ab8f9
|
upstreaming some changes for wasm here
- use instant crate
- bring in the wasm ezgui backend and necessary setup tweaks
- upgrade stdweb
but no map editor build magic yet
|
2020-02-14 14:28:25 -08:00 |
|