Open namdre opened 4 years ago
occupancy is temporary whereas bestlanes may be kept for longer (i.e. until leaving an edge). Still, this might be better than using the current computation with arbitrary choice.
see also #13392
bias in formation of queues due to laneChange prohibitions observed in #13300
Typically, bestLanes are computed when entering a new lane. At this time the occupancy is not very predictive of the downstream occupancy when leaving that lane.
Result of discussion with @behrisch:
Still, this might be better than using the current computation with arbitrary choice.
At the moment, the choice isn't even arbitrary but instead fixed to pick the rightmost lane among all equally good candidates. Even picking a random lane could be better.
as a tie-braker for lanes that are otherwise equally good.
This would avoid issues where a lane has multiple follower lanes on the same edge but lane-changing is not possible (e.g. because they are separated by prohibited lanes or we finally implemented #3656)
related: #4108