def performAction(self, action):
        self.steps += 1
        if action == self.TurnAround:
            self._turn()
        elif action == self.Forward:
            self._forward()
        else: # noisy backup
            r = random()
            if self.env.perseus[1] == 3:
                # in space
                if 0.1 < r:
                    self._turn()
                elif r < 0.9:
                    self._backup()
            elif ((self.env.perseus[1] == 2 and self.env.perseusDir == 3) or
                  (self.env.perseus[1] == 4 and self.env.perseusDir == 1)):
                # close to station, front to station
                if r < 0.3:
                    self._turn()
                elif r < 0.6:
                    self._backup()
            else:
                # close to station, back to station
                if r < 0.7:
                    self._backup()
dataset/ETHPy150Open pybrain/pybrain/pybrain/rl/environments/mazes/tasks/shuttle.py/ShuttleDocking.performAction/swapped operands of `<`