66189443c3b3b6cbd2c3b184878e61dde5c9618c,flow/scenarios/grid/grid_scenario.py,SimpleGridScenario,__init__,#SimpleGridScenario#Any#Any#Any#Any#Any#,31
Before Change
{"left{}_{}".format(self.row_num-1, i): vertical_lanes,
"right0_{}".format(i): horizontal_lanes})
for i in range(self.row_num-1):
self.lanes.update(
{"top{}_{}".format(i, self.col_num-1): vertical_lanes,
"bot" + str(i)+"_"+"0": horizontal_lanes})
super().__init__(name, generator_class, vehicles, net_params,
initial_config=initial_config)
After Change
See Scenario.py for description of params.
for p in ADDITIONAL_NET_PARAMS.keys():
if p not in net_params.additional_params:
raise KeyError("Network parameter "{}" not supplied".format(p))
for p in ADDITIONAL_NET_PARAMS["grid_array"].keys():
if p not in net_params.additional_params["grid_array"]:
raise KeyError("Grid array parameter "{}" not supplied".
format(p))
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 7
Instances
Project Name: flow-project/flow
Commit Name: 66189443c3b3b6cbd2c3b184878e61dde5c9618c
Time: 2018-02-21
Author: akreidieh@gmail.com
File Name: flow/scenarios/grid/grid_scenario.py
Class Name: SimpleGridScenario
Method Name: __init__
Project Name: flow-project/flow
Commit Name: 66189443c3b3b6cbd2c3b184878e61dde5c9618c
Time: 2018-02-21
Author: akreidieh@gmail.com
File Name: flow/scenarios/grid/grid_scenario.py
Class Name: SimpleGridScenario
Method Name: __init__
Project Name: elbayadm/attn2d
Commit Name: 22e535e23b4c2e95e7e72198ae98c7e0d4ac8c18
Time: 2018-09-30
Author: alexei.b@gmail.com
File Name: eval_lm.py
Class Name:
Method Name: main