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

PrioritizedGroup Class Reference

#include <PrioritizedGroup.h>

Inheritance diagram for PrioritizedGroup:

Inheritance graph
[legend]
Collaboration diagram for PrioritizedGroup:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 PrioritizedGroup (mapProvider *)
virtual tDirection makeMove (unit *u, mapProvider *, reservationProvider *, simulationInfo *simInfo)
virtual void openGLDraw (mapProvider *, simulationInfo *)
void increaseDisplayALevel (void)
void decreaseDisplayALevel (void)
virtual bool done ()
 Is the group done with their exploration?

virtual void startNewTrial (statCollection *stats)
 Lets the unit group do what it needs to reset a trial.

long getNodesStored ()

Private Member Functions

double getH (node *from, node *to)
double getDiffH (node *from, node *to)
void setH (node *from, node *to, double newValue)
recColor getColor (double v, double dimFactor)
void incrementNodesStored ()

Private Attributes

hashmap h
unsigned aDisplay
long nodesStored

Friends

class Prioritized

Constructor & Destructor Documentation

PrioritizedGroup::PrioritizedGroup mapProvider  ) 
 


Member Function Documentation

void PrioritizedGroup::decreaseDisplayALevel void   )  [inline]
 

bool PrioritizedGroup::done  )  [virtual]
 

Is the group done with their exploration?

Reimplemented from sharedAMapGroup.

recColor PrioritizedGroup::getColor double  v,
double  dimFactor
[private]
 

double PrioritizedGroup::getDiffH node from,
node to
[private]
 

double PrioritizedGroup::getH node from,
node to
[private]
 

long PrioritizedGroup::getNodesStored  )  [inline]
 

void PrioritizedGroup::increaseDisplayALevel void   )  [inline]
 

void PrioritizedGroup::incrementNodesStored  )  [inline, private]
 

tDirection PrioritizedGroup::makeMove unit u,
mapProvider ,
reservationProvider ,
simulationInfo simInfo
[virtual]
 

Reimplemented from sharedAMapGroup.

void PrioritizedGroup::openGLDraw mapProvider mp,
simulationInfo
[virtual]
 

(1) Unseen cells get 'fog of war'

(2) Ground cells with updated heuristics are reddened (additionally, cells in corridors are dimmed)

(3) Barrier cells are colored black

Reimplemented from sharedAMapGroup.

void PrioritizedGroup::setH node from,
node to,
double  newValue
[private]
 

void PrioritizedGroup::startNewTrial statCollection stats  )  [virtual]
 

Lets the unit group do what it needs to reset a trial.

Reimplemented from sharedAMapGroup.


Friends And Related Function Documentation

friend class Prioritized [friend]
 


Member Data Documentation

unsigned PrioritizedGroup::aDisplay [private]
 

hashmap PrioritizedGroup::h [private]
 

long PrioritizedGroup::nodesStored [private]
 


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