34ca21a6b7ad81e33fc08f5fa00f07f8cce94cee,flow/envs/base_env.py,Env,__init__,#Env#Any#Any#Any#,77
Before Change
for id in human_idlist:
if "rl" in id:
machine_timelogs.append(\
self.vehicles.get_timelog(id)+[id]+[id] )
machine_orientations.append(\
self.vehicles.get_orientation(id))
machine_dynamics.append(\
self.vehicles.get_speed(id)/max_speed)
else:
human_timelogs.append(\
self.vehicles.get_timelog(id)+[id])
human_orientations.append(\
self.vehicles.get_orientation(id))
human_dynamics.append(\
self.vehicles.get_speed(id)/max_speed)
After Change
for id in human_idlist:
if "rl" in id:
machine_logs.append(
[self.vehicles.get_timestep(id),
self.vehicles.get_timedelta(id),
id] )
machine_orientations.append(
self.vehicles.get_orientation(id))
machine_dynamics.append(
self.vehicles.get_speed(id)/max_speed)
else:
human_logs.append(
[self.vehicles.get_timestep(id),
self.vehicles.get_timedelta(id),
id] )
human_orientations.append(
self.vehicles.get_orientation(id))
human_dynamics.append(
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 13
Instances Project Name: flow-project/flow
Commit Name: 34ca21a6b7ad81e33fc08f5fa00f07f8cce94cee
Time: 2018-11-20
Author: fywu85@gmail.com
File Name: flow/envs/base_env.py
Class Name: Env
Method Name: __init__
Project Name: flow-project/flow
Commit Name: 34ca21a6b7ad81e33fc08f5fa00f07f8cce94cee
Time: 2018-11-20
Author: fywu85@gmail.com
File Name: flow/envs/base_env.py
Class Name: Env
Method Name: __init__
Project Name: flow-project/flow
Commit Name: 34ca21a6b7ad81e33fc08f5fa00f07f8cce94cee
Time: 2018-11-20
Author: fywu85@gmail.com
File Name: flow/envs/base_env.py
Class Name: Env
Method Name: reset
Project Name: flow-project/flow
Commit Name: 34ca21a6b7ad81e33fc08f5fa00f07f8cce94cee
Time: 2018-11-20
Author: fywu85@gmail.com
File Name: flow/envs/base_env.py
Class Name: Env
Method Name: step