Since the shortest lane length is 30.0, and the minimum travel time calculated by length/speed_limit is 1.62s, it is possible that between 10 seconds a vehicle drives through a short lane. However, _get_reward() method only check the difference between two snapshots. It may be very inaccurate in the earlier stages.
Since the shortest lane
length
is 30.0, and the minimum travel time calculated bylength/speed_limit
is 1.62s, it is possible that between 10 seconds a vehicle drives through a short lane. However,_get_reward()
method only check the difference between two snapshots. It may be very inaccurate in the earlier stages.