ec6b04702b88fcd64347953a18d6f40bb477c8a2,flow/envs/multiagent_env.py,MultiEnv,step,#MultiEnv#Any#,18
Before Change
// collect subscription information from sumo
vehicle_obs = \
self.traci_connection.vehicle.getSubscriptionResults()
id_lists = \
self.traci_connection.simulation.getSubscriptionResults()
tls_obs = \
self.traci_connection.trafficlight.getSubscriptionResults()
After Change
self.traci_connection.simulationStep()
// collect subscription information from sumo
vehicle_obs = dict((veh_id, self.traci_connection.vehicle.
getSubscriptionResults(veh_id))
for veh_id in self.vehicles.get_ids())
tls_obs = dict((tl_id, self.traci_connection.trafficlight.
getSubscriptionResults(tl_id))
for tl_id in self.traffic_lights.get_ids())
id_lists = \
self.traci_connection.simulation.getSubscriptionResults()
// store new observations in the vehicles and traffic lights class
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 18
Instances
Project Name: flow-project/flow
Commit Name: ec6b04702b88fcd64347953a18d6f40bb477c8a2
Time: 2018-11-30
Author: vinitsky.eugene@gmail.com
File Name: flow/envs/multiagent_env.py
Class Name: MultiEnv
Method Name: step
Project Name: flow-project/flow
Commit Name: 7cbdc08396fb43f344fbc4e96abc730041e27ca7
Time: 2018-09-01
Author: akreidieh@gmail.com
File Name: flow/envs/base_env.py
Class Name: Env
Method Name: setup_initial_state
Project Name: flow-project/flow
Commit Name: 7cbdc08396fb43f344fbc4e96abc730041e27ca7
Time: 2018-09-01
Author: akreidieh@gmail.com
File Name: flow/envs/base_env.py
Class Name: Env
Method Name: step
Project Name: flow-project/flow
Commit Name: ec6b04702b88fcd64347953a18d6f40bb477c8a2
Time: 2018-11-30
Author: vinitsky.eugene@gmail.com
File Name: flow/envs/multiagent_env.py
Class Name: MultiEnv
Method Name: step