31 #include "common/list.h" 32 #include "hpl1/engine/game/GameTypes.h" 33 #include "hpl1/engine/math/MathTypes.h" 34 #include "hpl1/engine/system/SystemTypes.h" 38 class cAINodeContainer;
44 typedef tAINodeSet::iterator tAINodeSetIt;
70 typedef tAStarNodeSet::iterator tAStarNodeSetIt;
79 virtual bool CanAddNode(
cAINode *apParentNode,
cAINode *apChildNode) = 0;
89 bool GetPath(
const cVector3f &avStart,
const cVector3f &avGoal, tAINodeList *apNodeList);
97 void SetCallback(
iAStarCallback *apCallback) { mpCallback = apCallback; }
100 void IterateAlgorithm();
109 bool IsGoalNode(
cAINode *apAINode);
114 tAINodeSet m_setGoalNodes;
122 tAStarNodeSet m_setOpenList;
123 tAStarNodeSet m_setClosedList;
128 #endif // HPL_A_STAR_H
Definition: AINodeContainer.h:65
void SetMaxIterations(int alX)
Definition: AStar.h:95
Definition: AINodeContainer.h:158
ListInternal::Iterator< t_T > iterator
Definition: list.h:52