OdinAI
|
#include <AStarGraphSearch.h>
Public Member Functions | |
AStarGraphSearch (const GRAPH_TYPE &graph, int sourceNode, int targetNode) | |
std::vector< const Edge * > | GetSPT () const |
void | GetPath (std::list< int > &outPath) const |
double | GetCostToTarget () const |
Do a A* graph search. Implementation is based on the book: Programming Game AI by Example.
|
inline |
Returns the cost to the target.
|
inline |
Fills an list with node data to the specific target.
|
inline |
Returns the vector of edges that the algorithm has examined.