[Fix] Changed typename to class in template paremeter list.
This commit is contained in:
parent
86c102f3d2
commit
fa83500d15
@ -1,23 +1,28 @@
|
|||||||
#include "Pathfinding.h"
|
#include "Pathfinding.h"
|
||||||
|
|
||||||
template<typename UserState>
|
template<class UserState>
|
||||||
AStarSearch<UserState>::AStarSearch(void) :
|
AStarSearch<UserState>::AStarSearch(void) :
|
||||||
_state(SEARCH_STATE_NOT_INITIALISED),
|
_state(SEARCH_STATE_NOT_INITIALISED),
|
||||||
_currentSolutionNode(NULL),
|
_currentSolutionNode(NULL),
|
||||||
_allocateNodeCount(0),
|
_allocateNodeCount(0),
|
||||||
_cancelRequest(false) {}
|
_cancelRequest(false) {}
|
||||||
|
|
||||||
template<typename UserState>
|
template<class UserState>
|
||||||
AStarSearch<UserState>::~AStarSearch(void) {
|
AStarSearch<UserState>::~AStarSearch(void) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
template<typename UserState>
|
template<class UserState>
|
||||||
void AStarSearch<UserState>::SetStartAndGoalStates(UserState& start, UserState& goal) {
|
void AStarSearch<UserState>::SetStartAndGoalStates(UserState& start, UserState& goal) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
template<typename UserState>
|
template<class UserState>
|
||||||
unsigned int AStarSearch<UserState>::SearchStep(void) {
|
unsigned int AStarSearch<UserState>::SearchStep(void) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
template<class UserState>
|
||||||
|
bool AStarSearch<UserState>::AddSuccessor(UserState& state) {
|
||||||
|
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user