libcrn  3.9.5
A document image processing library
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Public Member Functions | Public Attributes | List of all members
crn::AStarNodeC< Node > Struct Template Reference

A node in an A* graph. More...

#include <CRNPathFinding.h>

+ Collaboration diagram for crn::AStarNodeC< Node >:

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
 

Detailed Description

template<typename Node>
struct crn::AStarNodeC< Node >

A node in an A* graph.

Definition at line 147 of file CRNPathFinding.h.

Constructor & Destructor Documentation

template<typename Node >
crn::AStarNodeC< Node >::AStarNodeC ( )
inline

Constructor.

Definition at line 150 of file CRNPathFinding.h.

Member Data Documentation

template<typename Node >
double crn::AStarNodeC< Node >::cumulCost

The cumulated cost to the node

Definition at line 152 of file CRNPathFinding.h.

template<typename Node >
double crn::AStarNodeC< Node >::distToEnd

The estimated distance to the end of the path

Definition at line 153 of file CRNPathFinding.h.

template<typename Node >
Node crn::AStarNodeC< Node >::node

The content of the node

Definition at line 151 of file CRNPathFinding.h.

template<typename Node >
std::weak_ptr<AStarNodeC<Node> > crn::AStarNodeC< Node >::parent

Back reference to the parent node

Definition at line 155 of file CRNPathFinding.h.

template<typename Node >
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.


The documentation for this struct was generated from the following file: