Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

Cell Class Reference

#include <cell.h>

Inheritance diagram for Cell:

Inheritance graph
[legend]
Collaboration diagram for Cell:

Collaboration graph
[legend]
List of all members.

Public Methods

 Cell (int id, CAClient *ca)
 ~Cell ()
void senseAndAct ()
 this is the core of the agent which is to be over-written by each simulation; normally this is where the agent would scan its senses and decide on an action to take. More...

int executeAction (Action &action)
 This method will be called by the DALTClient when an action request involving this agent is received. More...


Detailed Description

Author:
Vlad Mereuta

Definition at line 31 of file cell.h.


Constructor & Destructor Documentation

Cell::Cell ( int id,
CAClient * ca )
 

Parameters:
id  
ca  

Cell::~Cell ( )
 


Member Function Documentation

int Cell::executeAction ( Action & action ) [virtual]
 

This method will be called by the DALTClient when an action request involving this agent is received.

this method will have to handle all the possible actions that can have as target this agent

Parameters:
action  

Reimplemented from DALT_Client::Agent.

void Cell::senseAndAct ( ) [virtual]
 

this is the core of the agent which is to be over-written by each simulation; normally this is where the agent would scan its senses and decide on an action to take.

Reimplemented from DALT_Client::Agent.


The documentation for this class was generated from the following file:
Generated at Thu Jan 31 15:20:21 2002 for DALT Client by doxygen1.2.8 written by Dimitri van Heesch, © 1997-2001