void AStar::Run() { CreateGraph(); CreateGraphAdjs(); ComputeGraphHeuristics(); Search(); Clean(); }
void AStar::Setup() { CreateGraph(); CreateGraphAdjs(); ComputeGraphHeuristics(); AddNodeToOpenList(NULL, tRoot[iStartNode]); /*Search(); Clean();*/ }