#include <pathfinder.h>
Public Member Functions | |
| virtual const COSTTYPE | operator() (const NODETYPE &node, const NODETYPE &goal)=0 |
| Computes estimated movement cost from node to goal. | |
| NODETYPE | Defines a state of the pathfinder, typically an x,y coordinate for tile based games | |
| COSTTYPE | The cost type of moving from state to state, typically a float or double |
| virtual const COSTTYPE Pathfinder::IDestinationCost< NODETYPE, COSTTYPE >::operator() | ( | const NODETYPE & | node, | |
| const NODETYPE & | goal | |||
| ) | [pure virtual] |
Computes estimated movement cost from node to goal.
This method computes an estimated movement cost from one state to another.
| node | The starting state | |
| goal | The final state |
1.5.7.1