29573a73ddf5cb1b3cd89301c84f0057c04cc084,mushroom_rl/environments/gym_env.py,Gym,reset,#Gym#,59

Before Change


            self.env.reset()
            self.env.state = state

            return state

    def step(self, action):
        action = self._convert_action(action)

After Change


            self.env.reset()
            self.env.state = state

            return np.atleast_1d(state)

    def step(self, action):
        action = self._convert_action(action)
        obs, reward, absorbing, info = self.env.step(action)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: AIRLab-POLIMI/mushroom
Commit Name: 29573a73ddf5cb1b3cd89301c84f0057c04cc084
Time: 2020-06-03
Author: carlo.deramo@gmail.com
File Name: mushroom_rl/environments/gym_env.py
Class Name: Gym
Method Name: reset


Project Name: utiasSTARS/liegroups
Commit Name: 784586f02d063d39360a287422a6384f30f10d12
Time: 2017-01-30
Author: clement.leopold@gmail.com
File Name: liegroups/so2.py
Class Name: SO2
Method Name: wedge


Project Name: AIRLab-POLIMI/mushroom
Commit Name: 29573a73ddf5cb1b3cd89301c84f0057c04cc084
Time: 2020-06-03
Author: carlo.deramo@gmail.com
File Name: mushroom_rl/environments/gym_env.py
Class Name: Gym
Method Name: step