#include <PrioritizedGroup.h>
Inheritance diagram for PrioritizedGroup:
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 |
|
|
|
|
|
Is the group done with their exploration?
Reimplemented from sharedAMapGroup. |
|
|
|
|
|
|
|
|
|
|
|
|
|
Reimplemented from sharedAMapGroup. |
|
(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. |
|
|
|
Lets the unit group do what it needs to reset a trial.
Reimplemented from sharedAMapGroup. |
|
|
|
|
|
|
|
|