Пример #1
0
    def isGoalState(self, state):
        """
        The state is Pacman's position. Fill this in with a goal test that will complete the problem definition.

        Hint: A goal state is any state resulting in some food being eaten.
        """
        x, y = state
        "*** YOUR CODE HERE ***"
        util.raiseNotDefined()
 def getAgent(self, index):
     "Returns the agent for the provided index."
     util.raiseNotDefined()
Пример #3
0
 def isGoalState(self, state):
     """
     Returns whether this search state is a goal state of the problem.
     """
     "*** YOUR CODE HERE ***"
     util.raiseNotDefined()
 def chooseAction(self, gameState):
     """
     Override this method to make a good agent. It should return a legal action within
     the time limit (otherwise a random legal action will be chosen for you).
     """
     util.raiseNotDefined()
Пример #5
0
 def getStartState(self):
     """
     Returns the start state (in your state space, not the full Pacman state space)
     """
     "*** YOUR CODE HERE ***"
     util.raiseNotDefined()