def test_scenario_4(self): parameters = Parameters() parameters.freeway_links_capacity = [20, 20, 20, 4, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20] parameters.check_route_choice = True parameters.plot_route_choice_io_curves = True parameters.file_directory = './scenario_4' run(parameters=parameters)
def test_scenario_3(self): parameters = Parameters() parameters.freeway_links_capacity = [ 20, 20, 20, 4, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20 ] parameters.plot_route_choice_io_curves = True parameters.file_directory = './scenario_3' run(parameters=parameters)
def test_scenario_7(self): parameters = Parameters() parameters.freeway_links_capacity = [20, 20, 20, 4, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20] parameters.check_route_choice = True parameters.plot_route_choice_io_curves = True parameters.incident_prob = 1 parameters.incident_time = 180 parameters.file_directory = './scenario_7' run(parameters=parameters)
def test_scenario_7(self): parameters = Parameters() parameters.freeway_links_capacity = [ 20, 20, 20, 4, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20 ] parameters.check_route_choice = True parameters.plot_route_choice_io_curves = True parameters.incident_prob = 1 parameters.incident_time = 180 parameters.file_directory = './scenario_7' run(parameters=parameters)