Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  

lm::StubLearner Class Reference

#include <StubLearner.h>

Inheritance diagram for lm::StubLearner:

lm::Learner List of all members.

Public Methods

 StubLearner (Agent *a)
 ~StubLearner ()
virtual void Learn ()
void setAgent (Agent *agent)
void setName (std::string name)
std::string getName ()

Detailed Description

StubLearner is a stubbed out implementation of the Learner class so that there is always a default learner in case the developer does not supply one for their own agent


Constructor & Destructor Documentation

lm::StubLearner::StubLearner Agent   a [inline]
 

lm::StubLearner::~StubLearner   [inline]
 

destructor


Member Function Documentation

std::string lm::Learner::getName   [inherited]
 

virtual void lm::StubLearner::Learn   [inline, virtual]
 

This is where the learning happens. This where the agent does any learning that he needs to do. If you have a database for instance that adds information from agents on what the agent sees and does this is the point to access it.

Implements lm::Learner.

void lm::Learner::setAgent Agent   agent [inherited]
 

void lm::Learner::setName std::string    name [inherited]
 


The documentation for this class was generated from the following file:
Generated on Wed Oct 22 21:33:22 2003 for AI Loom by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002