RoadTrafficSimulator
RoadTrafficSimulator copied to clipboard
implement MOBIL model for lane changing
Few things have to be implemented:
- [ ] Random time to change lane before intersection -- currently cars always change the lane in the begging of the road which leads to traffic jams
- [ ] Change lane if the car is going forward on intersection and can be in any lane
- [ ] Better way to handle deadlocks if two cars change lanes one's to another's at the same time
(sorry for the crooked translation of the Google translator) you can do the following: if a car approaches a traffic jam on one of the lanes, and if there is a freer lane, it drives into the freest lane on the road. she checks for streaks even while standing in traffic. how's the idea?