Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

LRTAStarUnit Class Reference

#include <LRTAStarUnit.h>

Inheritance diagram for LRTAStarUnit:

Inheritance graph
[legend]
Collaboration diagram for LRTAStarUnit:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LRTAStarUnit (int x, int y, unit *target, LRTAStar *alg)
virtual ~LRTAStarUnit (void)
tDirection makeMove (mapProvider *, reservationProvider *, simulationInfo *simInfo)
 The new makeMove only gives a map.

tDirection makeMove (mapProvider *, reservationProvider *, simulationInfo *simInfo, LRTAStarGroup *g)
bool done ()
void startNewTrial ()
virtual void printRoundStats (FILE *f)

Private Attributes

LRTAStar * algorithm
double amountLearned

Constructor & Destructor Documentation

LRTAStarUnit::LRTAStarUnit (  int  x,
int  y,
unit *  target,
LRTAStar *  alg
) 
 

LRTAStarUnit::~LRTAStarUnit (  void   )  [virtual]
 


Member Function Documentation

bool LRTAStarUnit::done (   )  [inline, virtual]
 

Reimplemented from searchUnit.

tDirection LRTAStarUnit::makeMove (  mapProvider *  ,
reservationProvider *  ,
simulationInfo *  simInfo,
LRTAStarGroup *  g
) 
 

tDirection LRTAStarUnit::makeMove (  mapProvider *  ,
reservationProvider *  ,
simulationInfo *  simInfo
)  [inline, virtual]
 

The new makeMove only gives a map.

The unit simulation won't calculate an mapAbstraction unless it has to. Thus, in simple pathfinding tests, the overhead is saved.

Reimplemented from searchUnit.

virtual void LRTAStarUnit::printRoundStats (  FILE *  f  )  [inline, virtual]
 

void LRTAStarUnit::startNewTrial (   ) 
 


Member Data Documentation

LRTAStar* LRTAStarUnit::algorithm [private]
 

Reimplemented from searchUnit.

double LRTAStarUnit::amountLearned [private]
 


The documentation for this class was generated from the following files:
Generated on Tue Aug 18 03:43:30 2009 for HOG by doxygen 1.3.4