467d568131b5c5866d7f5b90a6cc2ef2b3aee90d,flow/envs/base_env.py,Env,_step,#Env#Any#,319

Before Change



        self.additional_command()

        self.traci_connection.simulationStep()

        // collect subscription information from sumo
        vehicle_obs = self.traci_connection.vehicle.getSubscriptionResults()
        id_lists = self.traci_connection.simulation.getSubscriptionResults()

After Change



        self.additional_command()

        for i in range(self.sumo_params.num_steps):
            self.traci_connection.simulationStep()

        // collect subscription information from sumo
        vehicle_obs = self.traci_connection.vehicle.getSubscriptionResults()
        id_lists = self.traci_connection.simulation.getSubscriptionResults()
        tls_obs = self.traci_connection.trafficlights.getSubscriptionResults()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: flow-project/flow
Commit Name: 467d568131b5c5866d7f5b90a6cc2ef2b3aee90d
Time: 2018-03-05
Author: vinitsky.eugene@gmail.com
File Name: flow/envs/base_env.py
Class Name: Env
Method Name: _step


Project Name: flow-project/flow
Commit Name: f4c1c081fdb749f84176a7686ad7a0391482e6b1
Time: 2018-03-13
Author: vinitsky.eugene@gmail.com
File Name: flow/envs/base_env.py
Class Name: Env
Method Name: _step


Project Name: flow-project/flow
Commit Name: 96a123dfeaa9d7fad6ba3403bb1b3dbb7dcbe62b
Time: 2018-03-13
Author: akreidieh@gmail.com
File Name: flow/envs/base_env.py
Class Name: Env
Method Name: _step