mirror of
https://github.com/a-b-street/abstreet.git
synced 2024-11-28 12:12:00 +03:00
f685af47a5
proles: account for work capacity previously all residents went to work on the map, but if the neighborhood is mostly residential that meant they were "competing" heavily for the scarce jobs available on the map. with this commit, we do a better job of spreading worker/residential demand to account for what is available, and fill in the gap with off-map trip origins/desitinations. e.g. if a neighborhood is mostly residential, we have folks commute off of map. If a neighborhood is mostly commercial, we have folks commute into the map.
19 lines
374 B
TOML
19 lines
374 B
TOML
[package]
|
|
name = "sim"
|
|
version = "0.1.0"
|
|
authors = ["Dustin Carlino <dabreegster@gmail.com>"]
|
|
edition = "2018"
|
|
|
|
[dependencies]
|
|
abstutil = { path = "../abstutil" }
|
|
downcast-rs = "1.1.1"
|
|
geom = { path = "../geom" }
|
|
instant = "0.1.2"
|
|
libm = "0.2.1"
|
|
log = "0.4"
|
|
map_model = { path = "../map_model" }
|
|
rand = "0.7.0"
|
|
rand_distr = "0.2.2"
|
|
rand_xorshift = "0.2.0"
|
|
serde = "1.0.110"
|