#include <LRTAStarUnit.h>
Inheritance diagram for LRTAStarUnit:


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 |
|
||||||||||||||||||||
|
|
|
|
|
|
|
Reimplemented from searchUnit. |
|
||||||||||||||||||||
|
|
|
||||||||||||||||
|
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. |
|
|
|
|
|
|
|
|
Reimplemented from searchUnit. |
|
|
|
1.3.4