def getReward(self):
        if self.env.goal == self.env.perseus:
            self.env.reset()
            reward = 1.
        else:
            reward = 0.
        return reward
compute and return the current reward (i.e. corresponding to the last action performed)
dataset/ETHPy150Open pybrain/pybrain/pybrain/rl/environments/mazes/tasks/mdp.py/MDPMazeTask.getReward