Pathfinder::AStarGeneric< NODETYPE, DESTCOST, GETNEIGHBORS, COSTTYPE >::AddNeighborFunctor Class Reference
Functor passed to the
IGetNeighbors functor.
More...
#include <pathfinderastargeneric.h>
List of all members.
|
Public Member Functions |
| void | operator() (const NODETYPE &neighbor, const COSTTYPE &movecost) |
| | Adds a directly reachable neighbor state.
|
Detailed Description
template<class NODETYPE, class DESTCOST, class GETNEIGHBORS, class COSTTYPE = double>
class Pathfinder::AStarGeneric< NODETYPE, DESTCOST, GETNEIGHBORS, COSTTYPE >::AddNeighborFunctor
Functor passed to the
IGetNeighbors functor.
Member Function Documentation
template<class NODETYPE , class DESTCOST , class GETNEIGHBORS , class COSTTYPE = double>
| void Pathfinder::AStarGeneric< NODETYPE, DESTCOST, GETNEIGHBORS, COSTTYPE >::AddNeighborFunctor::operator() |
( |
const NODETYPE & |
neighbor, |
|
|
const COSTTYPE & |
movecost | |
|
) |
| | [inline] |
Adds a directly reachable neighbor state.
- Parameters:
-
| neighbor | The neighbor state |
| movecost | The cost of moving from the parent state to this state |
The documentation for this class was generated from the following file: