dcef2beb1ba78c001a6d13d36af5e6e0ee74ae16,flow/envs/loop/loop_accel.py,AccelEnv,observation_space,#AccelEnv#,69
Before Change
@property
def observation_space(self):
See class definition.
self.obs_var_labels = ["Velocity", "Absolute_pos"]
speed = Box(
low=0,
high=1,
shape=(self.vehicles.num_vehicles, ),
dtype=np.float32)
pos = Box(
low=0.,
high=1,
shape=(self.vehicles.num_vehicles, ),
dtype=np.float32)
return Tuple((speed, pos))
def _apply_rl_actions(self, rl_actions):
See class definition.
sorted_rl_ids = [
After Change
@property
def observation_space(self):
See class definition.
return Box(
low=0,
high=1,
shape=(2 * self.vehicles.num_vehicles, ),
dtype=np.float32)
def _apply_rl_actions(self, rl_actions):
See class definition.
sorted_rl_ids = [
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 17
Instances
Project Name: flow-project/flow
Commit Name: dcef2beb1ba78c001a6d13d36af5e6e0ee74ae16
Time: 2018-11-18
Author: akreidieh@gmail.com
File Name: flow/envs/loop/loop_accel.py
Class Name: AccelEnv
Method Name: observation_space
Project Name: flow-project/flow
Commit Name: 34447a418b6c9e88097d42877142961b0f68912b
Time: 2018-11-15
Author: akreidieh@gmail.com
File Name: flow/envs/loop/lane_changing.py
Class Name: LaneChangeAccelEnv
Method Name: observation_space
Project Name: flow-project/flow
Commit Name: c6434a525d3ad6b6e3c0b12785294bd480252d60
Time: 2018-11-10
Author: akreidieh@gmail.com
File Name: flow/envs/loop/loop_accel.py
Class Name: AccelEnv
Method Name: observation_space
Project Name: flow-project/flow
Commit Name: dcef2beb1ba78c001a6d13d36af5e6e0ee74ae16
Time: 2018-11-18
Author: akreidieh@gmail.com
File Name: flow/envs/loop/loop_accel.py
Class Name: AccelEnv
Method Name: observation_space