Public Member Functions | Public Attributes | List of all members
MapSearchNode Class Reference

Public Member Functions

float GetCost (MapSearchNode &successor)
 
bool GetSuccessors (AStarSearch< MapSearchNode > *astarsearch, MapSearchNode *parent_node)
 
float GoalDistanceEstimate (MapSearchNode &nodeGoal)
 
bool IsGoal (MapSearchNode &nodeGoal)
 
bool IsSameState (MapSearchNode &rhs)
 
 MapSearchNode ()
 
 MapSearchNode (unsigned int px, unsigned int py)
 
void PrintNodeInfo ()
 

Public Attributes

unsigned int x
 
unsigned int y
 

Detailed Description

Definition at line 39 of file findpath.cpp.

Constructor & Destructor Documentation

◆ MapSearchNode() [1/2]

MapSearchNode::MapSearchNode ( )
inline

Definition at line 45 of file findpath.cpp.

◆ MapSearchNode() [2/2]

MapSearchNode::MapSearchNode ( unsigned int  px,
unsigned int  py 
)
inline

Definition at line 46 of file findpath.cpp.

Member Function Documentation

◆ GetCost()

float MapSearchNode::GetCost ( MapSearchNode successor)

Definition at line 168 of file findpath.cpp.

◆ GetSuccessors()

bool MapSearchNode::GetSuccessors ( AStarSearch< MapSearchNode > *  astarsearch,
MapSearchNode parent_node 
)

Definition at line 108 of file findpath.cpp.

◆ GoalDistanceEstimate()

float MapSearchNode::GoalDistanceEstimate ( MapSearchNode nodeGoal)

Definition at line 84 of file findpath.cpp.

◆ IsGoal()

bool MapSearchNode::IsGoal ( MapSearchNode nodeGoal)

Definition at line 92 of file findpath.cpp.

◆ IsSameState()

bool MapSearchNode::IsSameState ( MapSearchNode rhs)

Definition at line 59 of file findpath.cpp.

◆ PrintNodeInfo()

void MapSearchNode::PrintNodeInfo ( )

Definition at line 75 of file findpath.cpp.

Member Data Documentation

◆ x

unsigned int MapSearchNode::x

Definition at line 42 of file findpath.cpp.

◆ y

unsigned int MapSearchNode::y

Definition at line 43 of file findpath.cpp.


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


stage
Author(s): Richard Vaughan , Brian Gerkey , Reed Hedges , Andrew Howard , Toby Collett , Pooya Karimian , Jeremy Asher , Alex Couture-Beil , Geoff Biggs , Rich Mattes , Abbas Sadat
autogenerated on Mon Feb 28 2022 23:48:56