mirror of
https://github.com/a-b-street/abstreet.git
synced 2024-11-28 12:12:00 +03:00
ddfaf73eae
1. Allow lane changing in an uber turn. Because of the way uber turns work, we lock in and commit to all the lane changes just before entering the uber turn. 2. Avoid overzealous lane changing by combining number-of-lanes-crossed and numer-of-vehicles-in-lane into a single cost, rather than always preferring the least number-of-vehicles-in-lane. 3. Don't lane-change unless the candidate lane's cost is strictly better than the current lane cost. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |