1dcd6432918e61231fe91cbceb3a8d946a237a9e,flow/core/kernel/scenario/traci.py,TraCIScenario,generate_network,#TraCIScenario#Any#,72

Before Change


        // TODO: delete?
        // length of the network, or the portion of the network in
        // which cars are meant to be distributed
        self.__length = sum([
            self.edge_length(edge_id) for edge_id in self.get_edge_list()
        ])

        // parameters to be specified under each unique subclass"s
        // __init__() function

After Change


        // length of the network, or the portion of the network in
        // which cars are meant to be distributed
        self.__length = sum(
            self.edge_length(edge_id) for edge_id in self.get_edge_list()
        )

        // parameters to be specified under each unique subclass"s
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: flow-project/flow
Commit Name: 1dcd6432918e61231fe91cbceb3a8d946a237a9e
Time: 2018-12-31
Author: akreidieh@gmail.com
File Name: flow/core/kernel/scenario/traci.py
Class Name: TraCIScenario
Method Name: generate_network


Project Name: flow-project/flow
Commit Name: ac30253d0b4384b8c025ac17cf368eccfe0eab2c
Time: 2018-12-18
Author: akreidieh@gmail.com
File Name: flow/core/kernel/scenario/aimsun.py
Class Name: AimsunKernelScenario
Method Name: length


Project Name: flow-project/flow
Commit Name: 2e1726149346f5f555c2df28dccc629283d836c0
Time: 2018-01-30
Author: akreidieh@gmail.com
File Name: flow/core/vehicles.py
Class Name: Vehicles
Method Name: _prev_edge_followers