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

#include <MeroB.h>

Public Member Functions

 SearchNode (double _fCost=0, double _gCost=0, graphState curr=0, graphState prev=0)
 
 SearchNode (graphState curr)
 
void copy (double f, double g, graphState curr, graphState prev)
 

Public Attributes

double fCost
 
double gCost
 
graphState currNode
 
graphState prevNode
 

Detailed Description

Definition at line 34 of file MeroB.h.

Constructor & Destructor Documentation

◆ SearchNode() [1/2]

MeroBUtil::SearchNode::SearchNode ( double  _fCost = 0,
double  _gCost = 0,
graphState  curr = 0,
graphState  prev = 0 
)
inline

Definition at line 36 of file MeroB.h.

◆ SearchNode() [2/2]

MeroBUtil::SearchNode::SearchNode ( graphState  curr)
inline

Definition at line 39 of file MeroB.h.

Member Function Documentation

◆ copy()

void MeroBUtil::SearchNode::copy ( double  f,
double  g,
graphState  curr,
graphState  prev 
)
inline

Definition at line 42 of file MeroB.h.

References currNode, fCost, gCost, and prevNode.

Referenced by MeroB::DoSingleStepA(), MeroB::DoSingleStepB(), and MeroB::DoSingleStepBP().

Member Data Documentation

◆ currNode

graphState MeroBUtil::SearchNode::currNode

◆ fCost

double MeroBUtil::SearchNode::fCost

◆ gCost

double MeroBUtil::SearchNode::gCost

◆ prevNode

graphState MeroBUtil::SearchNode::prevNode

Definition at line 53 of file MeroB.h.

Referenced by copy(), and MeroB::ExtractPathToStart().


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