FlightGear next
flightgear::AStarOpenNode Class Reference

Inherits SGReferenced.

Public Member Functions

 AStarOpenNode (FGPositionedRef aNode, double aLegDist, int aAirway, FGPositionedRef aDest, AStarOpenNode *aPrev)
 
virtual ~AStarOpenNode ()
 
double totalCost () const
 aka 'f(x)'
 

Public Attributes

FGPositionedRef node
 
SGSharedPtr< AStarOpenNodeprevious
 
int airway
 
double distanceFromStart
 
double directDistanceToDestination
 

Detailed Description

Definition at line 53 of file airways.cxx.

Constructor & Destructor Documentation

◆ AStarOpenNode()

flightgear::AStarOpenNode::AStarOpenNode ( FGPositionedRef aNode,
double aLegDist,
int aAirway,
FGPositionedRef aDest,
AStarOpenNode * aPrev )
inline

Definition at line 56 of file airways.cxx.

◆ ~AStarOpenNode()

virtual flightgear::AStarOpenNode::~AStarOpenNode ( )
inlinevirtual

Definition at line 71 of file airways.cxx.

Member Function Documentation

◆ totalCost()

double flightgear::AStarOpenNode::totalCost ( ) const
inline

aka 'f(x)'

Definition at line 84 of file airways.cxx.

Member Data Documentation

◆ airway

int flightgear::AStarOpenNode::airway

Definition at line 77 of file airways.cxx.

◆ directDistanceToDestination

double flightgear::AStarOpenNode::directDistanceToDestination

Definition at line 79 of file airways.cxx.

◆ distanceFromStart

double flightgear::AStarOpenNode::distanceFromStart

Definition at line 78 of file airways.cxx.

◆ node

FGPositionedRef flightgear::AStarOpenNode::node

Definition at line 75 of file airways.cxx.

◆ previous

SGSharedPtr<AStarOpenNode> flightgear::AStarOpenNode::previous

Definition at line 76 of file airways.cxx.


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