HOG2
Public Member Functions | Public Attributes | List of all members
AStar3Util::SearchNode Class Reference

#include <AStar.h>

Collaboration diagram for AStar3Util::SearchNode:
Collaboration graph
[legend]

Public Member Functions

 SearchNode (double _fCost=0, double _gCost=0, edge *_e=0, node *curr=0, node *prev=0)
 
 SearchNode (node *curr)
 

Public Attributes

double fCost
 
double gCost
 
edgee
 
nodecurrNode
 
nodeprevNode
 

Detailed Description

Definition at line 26 of file AStar.h.

Constructor & Destructor Documentation

◆ SearchNode() [1/2]

AStar3Util::SearchNode::SearchNode ( double  _fCost = 0,
double  _gCost = 0,
edge _e = 0,
node curr = 0,
node prev = 0 
)
inline

Definition at line 28 of file AStar.h.

◆ SearchNode() [2/2]

AStar3Util::SearchNode::SearchNode ( node curr)
inline

Definition at line 31 of file AStar.h.

Member Data Documentation

◆ currNode

node* AStar3Util::SearchNode::currNode

◆ e

edge* AStar3Util::SearchNode::e

Definition at line 37 of file AStar.h.

Referenced by aStar::updateWeight().

◆ fCost

double AStar3Util::SearchNode::fCost

Definition at line 34 of file AStar.h.

Referenced by AStar3Util::SearchNodeCompare::operator()(), and aStar::updateWeight().

◆ gCost

double AStar3Util::SearchNode::gCost

Definition at line 35 of file AStar.h.

Referenced by AStar3Util::SearchNodeCompare::operator()(), and aStar::updateWeight().

◆ prevNode

node* AStar3Util::SearchNode::prevNode

Definition at line 39 of file AStar.h.

Referenced by aStar::extractPathToStart(), and aStar::updateWeight().


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