3f91c1f276c254fcb39df3fd1d03464366930503,tensorforce/contrib/unreal_engine.py,UE4Environment,reset,#UE4Environment#,87

Before Change


        self.protocol.send({"cmd": "reset"}, self.socket)
        // wait for response
        response = self.protocol.recv(self.socket)
        if "obs_dict" not in response:
            raise TensorForceError("Message without field "obs_dict" received!")
        return response["obs_dict"]

    def set(self, setters, **kwargs):
        if "cmd" in kwargs:
            raise TensorForceError("Key "cmd" must not be present in **kwargs to method `set`!")

After Change


        // wait for response
        response = self.protocol.recv(self.socket)
        // extract observations
        return self.extract_observation(response)

    def set_state(self, setters, **kwargs):
        if "cmd" in kwargs:
            raise TensorForceError("Key "cmd" must not be present in **kwargs to method `set`!")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 7

Instances


Project Name: reinforceio/tensorforce
Commit Name: 3f91c1f276c254fcb39df3fd1d03464366930503
Time: 2017-12-17
Author: svenmika1977@gmail.com
File Name: tensorforce/contrib/unreal_engine.py
Class Name: UE4Environment
Method Name: reset


Project Name: reinforceio/tensorforce
Commit Name: c794fa99318462b5b04b77cfff27428d85cfb443
Time: 2017-12-17
Author: svenmika1977@gmail.com
File Name: tensorforce/contrib/unreal_engine.py
Class Name: UE4Environment
Method Name: reset


Project Name: reinforceio/tensorforce
Commit Name: 3f91c1f276c254fcb39df3fd1d03464366930503
Time: 2017-12-17
Author: svenmika1977@gmail.com
File Name: tensorforce/contrib/unreal_engine.py
Class Name: UE4Environment
Method Name: execute


Project Name: reinforceio/tensorforce
Commit Name: c794fa99318462b5b04b77cfff27428d85cfb443
Time: 2017-12-17
Author: svenmika1977@gmail.com
File Name: tensorforce/contrib/unreal_engine.py
Class Name: UE4Environment
Method Name: execute