libcrn
3.9.5
A document image processing library
|
A node in an A* graph. More...
#include <CRNPathFinding.h>
Classes | |
struct | CMP |
Public Member Functions | |
AStarNodeC () | |
Constructor. More... | |
Public Attributes | |
Node | node |
double | cumulCost |
double | distToEnd |
double | totalCost |
std::weak_ptr< AStarNodeC< Node > > | parent |
A node in an A* graph.
Definition at line 147 of file CRNPathFinding.h.
|
inline |
Constructor.
Definition at line 150 of file CRNPathFinding.h.
double crn::AStarNodeC< Node >::cumulCost |
The cumulated cost to the node
Definition at line 152 of file CRNPathFinding.h.
double crn::AStarNodeC< Node >::distToEnd |
The estimated distance to the end of the path
Definition at line 153 of file CRNPathFinding.h.
Node crn::AStarNodeC< Node >::node |
The content of the node
Definition at line 151 of file CRNPathFinding.h.
std::weak_ptr<AStarNodeC<Node> > crn::AStarNodeC< Node >::parent |
Back reference to the parent node
Definition at line 155 of file CRNPathFinding.h.
double crn::AStarNodeC< Node >::totalCost |
The cumulated cost + the cost of the estimated distance to the end
Definition at line 154 of file CRNPathFinding.h.