93a7f518a7eefd0d5492f8c77b253d7f40af3b4f,cistar-dev/cistar/envs/lane_changing.py,SimpleLaneChangingAccelerationEnvironment,action_space,#SimpleLaneChangingAccelerationEnvironment#,19

Before Change


        //                 high=self.env_params["max-acc"],
        //                 shape=(self.scenario.num_rl_vehicles,))

        action_space = Product(*[Discrete(3) for _ in range(self.scenario.num_rl_vehicles)], 
            Box(low=-abs(self.env_params["max-deacc"]),
                        high=self.env_params["max-acc"],
                        shape=(self.scenario.num_rl_vehicles,)))

After Change



        lb = [-abs(self.env_params["max-deacc"]), -1] * self.scenario.num_rl_vehicles
        ub = [self.env_params["max-acc"], 1] * self.scenario.num_rl_vehicles
        return Box(np.array(lb), np.array(ub))

    @property
    def observation_space(self):
        
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: flow-project/flow
Commit Name: 93a7f518a7eefd0d5492f8c77b253d7f40af3b4f
Time: 2017-06-10
Author: akreidieh@gmail.com
File Name: cistar-dev/cistar/envs/lane_changing.py
Class Name: SimpleLaneChangingAccelerationEnvironment
Method Name: action_space


Project Name: rlworkgroup/garage
Commit Name: a124edcd95c1dcc16070e16244fdfcba6be169e3
Time: 2018-08-01
Author: 31218416+zhanpenghe@users.noreply.github.com
File Name: garage/envs/mujoco/sawyer/reacher_env.py
Class Name: ReacherEnv
Method Name: action_space


Project Name: rlworkgroup/garage
Commit Name: 8d8051d830f2448b0777e475ea6baad72f23b6dc
Time: 2020-04-29
Author: changsu.cs.work@gmail.com
File Name: src/garage/envs/multi_env_wrapper.py
Class Name: MultiEnvWrapper
Method Name: observation_space