示例#1
0
 def get_action(self, state):
     """
     This method for any agent will receive a GameState object. The actual
     implementation falls to the object instance but in all cases this
     method should return a Direction action.
     """
     raise_not_defined()
示例#2
0
 def get_distribution(self, state):
     """
     This method must return a Counter that encodes a distribution over
     actions from the provided state. This must be implemented by any
     ghost agent.
     """
     raise_not_defined()
示例#3
0
 def get_start_state(self):
     raise_not_defined()
示例#4
0
 def get_cost_of_actions(self, actions):
     raise_not_defined()
示例#5
0
 def get_successors(self, state):
     raise_not_defined()
示例#6
0
 def is_goal_state(self, state):
     raise_not_defined()