Package kuimaze :: Module searchagent :: Class SearchAgent
[hide private]
[frames] | no frames]

Class SearchAgent

source code

baseagent.BaseAgent --+
                      |
                     SearchAgent

Base class for all search agents, which extends BaseAgent Class. All student solutions must inherit from this class.

Instance Methods [hide private]
 
heuristic_function(self, position, goal)
Method that must be implemented by you.
source code

Inherited from baseagent.BaseAgent: __init__, find_path

Method Details [hide private]

heuristic_function(self, position, goal)

source code 

Method that must be implemented by you. Otherwise raise NotImplementedError. We are expecting that you will implement some admissible heuristic function.

Returns:
value