I can see that in the current sumo implementation, vehicle lane change is dependent upon the whole route visibility of this vehicle. Is there a way so that the vehicle lane change decision takes place only as per the next edge visibility and not the whole route.
For instance, if I run the same vehicle with a shorter route and a longer route, the lane change decisions will be different.
Can we change this implementation in sumo code? Can you please help me with this?