In file rc_agent.hh:

class Remote_Control_Agent : public Abstract_Agent

This class implements a remote control agent

Inheritance:


Public Methods

Action select_action(Percept percept)
This public function replaces the virtual function in the parent class

Inherited from Abstract_Agent:


Documentation

This class implements a remote control agent. It overloads the Abstract_Agent class. The agent is not an intelligent agent but it is remote controlled by the user using the keyboard.

Action select_action(Percept percept)
This public function replaces the virtual function in the parent class. Each time the function is called it asks the user for a command in the form of key followed by <Enter>. The following keys are valid:

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


This class has no child classes.
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++