def generateSuccessor(self, vector):
        x, y = self.pos
        dx, dy = vector
        direction = Actions.vectorToDirection(vector)
        if direction == Directions.STOP:
            direction = self.direction  # There is no stop direction
        return Configuration((x + dx, y + dy), direction)
Generates a new configuration reached by translating the current
dataset/ETHPy150Open rlpy/rlpy/rlpy/Domains/PacmanPackage/game.py/Configuration.generateSuccessor