HOG2
|
#include <SpreadExecSearchAlgorithm.h>
Public Member Functions | |
spreadExecSearchAlgorithm () | |
virtual const char * | GetName () |
virtual path * | GetPath (GraphAbstraction *aMap, node *from, node *to, reservationProvider *rp=0) |
virtual void | setTargets (GraphAbstraction *_aMap, node *s, node *e, reservationProvider *_rp=0) |
virtual int | getNumThinkSteps ()=0 |
how many times do we have to "think" to find the solution, return -1 if unknown More... | |
virtual path * | think ()=0 |
do next processing for path, returns avaliability of path moves More... | |
Public Member Functions inherited from SearchAlgorithm | |
SearchAlgorithm () | |
virtual | ~SearchAlgorithm () |
uint64_t | GetNodesExpanded () |
uint64_t | GetNodesTouched () |
virtual void | LogFinalStats (StatCollection *) |
Protected Attributes | |
node * | start |
node * | end |
reservationProvider * | rp |
GraphAbstraction * | aMap |
Additional Inherited Members | |
Public Attributes inherited from SearchAlgorithm | |
uint32_t | nodesExpanded |
uint32_t | nodesTouched |
Definition at line 17 of file SpreadExecSearchAlgorithm.h.
|
inline |
Definition at line 19 of file SpreadExecSearchAlgorithm.h.
|
inlinevirtual |
Implements SearchAlgorithm.
Definition at line 20 of file SpreadExecSearchAlgorithm.h.
|
pure virtual |
how many times do we have to "think" to find the solution, return -1 if unknown
Implemented in spreadPRAStar.
|
virtual |
Implements SearchAlgorithm.
Reimplemented in spreadPRAStar.
Definition at line 14 of file SpreadExecSearchAlgorithm.cpp.
References setTargets(), and think().
|
inlinevirtual |
Reimplemented in spreadPRAStar.
Definition at line 23 of file SpreadExecSearchAlgorithm.h.
References aMap, end, rp, and start.
Referenced by GetPath(), and SearchUnit::makeMove().
|
pure virtual |
do next processing for path, returns avaliability of path moves
Implemented in spreadPRAStar.
Referenced by SearchUnit::getCachedMove(), and GetPath().
|
protected |
Definition at line 32 of file SpreadExecSearchAlgorithm.h.
Referenced by setTargets().
|
protected |
Definition at line 30 of file SpreadExecSearchAlgorithm.h.
Referenced by setTargets().
|
protected |
Definition at line 31 of file SpreadExecSearchAlgorithm.h.
Referenced by setTargets().
|
protected |
Definition at line 30 of file SpreadExecSearchAlgorithm.h.
Referenced by setTargets().