mirror of
https://github.com/a-b-street/abstreet.git
synced 2024-12-25 15:33:44 +03:00
92d3a890ea
This is simpler to reason about, allows the penalty for entering a zone or taking an unprotected turn to be expressed in terms of a time penalty, and is a step towards adjusting bike/foot routing for elevation data. When we later add things like "safety/quietness" for cycling, maybe we can switch to using a (time, quietness) tuple, and transform into a single number with a linear combination parameterized by that agent's preference for time/safety. This change is compatible with that future idea. There are behavior changes here, particularly for zones and unprotected turns. No new maps start gridlocking, and in fact, Rainier starts working again. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |