tt = np.array([j[1] for j in self.route_expected_tt[veh_id]])
if self.close_CD:
current_route_choice_indx = random.choice([0, 2])
else:
// the vehicle chooses the route that will allow it to move fastest
// choices between equivalent routes are made randomly
After Change
// the vehicle chooses the route that will allow it to move fastest
// choices between equivalent routes are made randomly
// current_route_choice_indx = random.choice(np.where(min(tt) == tt)[0])
current_route_choice_indx = np.argmin(tt)
route_choices[i] = self.available_route_choices[current_route_choice_indx]
if self.vehicles[veh_id]["route"] != route_choices[i]: