861657d2c9b321961994c8cdd0e58b6c4fe0645f,slm_lab/env/__init__.py,EnvSpace,__init__,#EnvSpace#Any#Any#,364

Before Change


        self.info_space = aeb_space.info_space
        self.envs = []
        for e, env_spec in enumerate(self.env_spec):
            env_spec = ps.merge(spec["meta"].copy(), env_spec)
            try:
                env = OpenAIEnv(env_spec, self, e)
            except gym.error.Error:

After Change


        for e in range(len(self.spec["env"])):
            env = make_env(self.spec, e, env_space=self)
            self.envs.append(env)
        logger.info(util.self_desc(self))

    def get(self, e):
        return self.envs[e]
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: kengz/SLM-Lab
Commit Name: 861657d2c9b321961994c8cdd0e58b6c4fe0645f
Time: 2018-09-03
Author: kengzwl@gmail.com
File Name: slm_lab/env/__init__.py
Class Name: EnvSpace
Method Name: __init__


Project Name: kengz/SLM-Lab
Commit Name: 861657d2c9b321961994c8cdd0e58b6c4fe0645f
Time: 2018-09-03
Author: kengzwl@gmail.com
File Name: slm_lab/agent/__init__.py
Class Name: AgentSpace
Method Name: __init__


Project Name: kengz/SLM-Lab
Commit Name: 861657d2c9b321961994c8cdd0e58b6c4fe0645f
Time: 2018-09-03
Author: kengzwl@gmail.com
File Name: slm_lab/experiment/monitor.py
Class Name: AEBSpace
Method Name: init_body_space