In file abstract_agent.hh:

class Abstract_Agent

This class is the basis for each Wumpus World agent

Inheritance:


Public Methods

virtual Action select_action(Percept percept)
This virtual public function must be replaced by a real function using overloading

Documentation

This class is the basis for each Wumpus World agent. In order to create a new agent you must overload the Abstract_Agent. This is done by creating a new class e.g.: class New_Agent:public Abstract_Agent { }

virtual Action select_action(Percept percept)
This virtual public function must be replaced by a real function using overloading. This function returns the Action the agent takes.

Returns:
The action taken by the agent
Parameters:
percept - the percept the agent perceives


Direct child classes:
Remote_Control_Agent
Author:
J. Eggermont
Version:
1.0

alphabetic index hierarchy of classes


voor vragen en opmerkingen kun je een e-mailtje sturen naar: jeggermo@wi.leidenuniv.nl

generated by doc++