HOG2
Public Member Functions | Private Member Functions | Private Attributes | List of all members
CFOptimalRefinement Class Reference

#include <CFOptimalRefinement.h>

Inheritance diagram for CFOptimalRefinement:
Inheritance graph
[legend]
Collaboration diagram for CFOptimalRefinement:
Collaboration graph
[legend]

Public Member Functions

 CFOptimalRefinement ()
 
virtual ~CFOptimalRefinement ()
 
virtual const char * GetName ()
 
virtual pathGetPath (GraphAbstraction *aMap, node *from, node *to, reservationProvider *rp=0)
 
pathDoOneSearchStep ()
 
bool InitializeSearch (GraphAbstraction *aMap, node *from, node *to)
 
void OpenGLDraw () const
 
- Public Member Functions inherited from SearchAlgorithm
 SearchAlgorithm ()
 
virtual ~SearchAlgorithm ()
 
uint64_t GetNodesExpanded ()
 
uint64_t GetNodesTouched ()
 
virtual void LogFinalStats (StatCollection *)
 

Private Member Functions

nodeFindTopLevelNode (node *one, node *two, GraphAbstraction *aMap)
 
void SetInitialValues (node *gNewNode, node *aRealNode, node *gParent)
 
void UpdateNode (node *gNode)
 
void UpdateH (node *gNode)
 
void UpdateG (node *gNode)
 
void UpdateOptH (node *gNode)
 
void MakeNeighborsOpen (node *gNode)
 
void RefineNode (node *gNode)
 
nodeGetRealNode (node *gNode) const
 
bool ShouldAddEdge (node *aLowerNode, node *aHigherNode)
 

Private Attributes

PQueue q
 
nodeaStart
 
nodeaGoal
 
nodegStart
 
nodegGoal
 
GraphAbstractionabsGraph
 
Graphg
 

Additional Inherited Members

- Public Attributes inherited from SearchAlgorithm
uint32_t nodesExpanded
 
uint32_t nodesTouched
 

Detailed Description

Definition at line 88 of file CFOptimalRefinement.h.

Constructor & Destructor Documentation

◆ CFOptimalRefinement()

CFOptimalRefinement::CFOptimalRefinement ( )

Definition at line 15 of file CFOptimalRefinement.cpp.

References g.

◆ ~CFOptimalRefinement()

CFOptimalRefinement::~CFOptimalRefinement ( )
virtual

Definition at line 21 of file CFOptimalRefinement.cpp.

Member Function Documentation

◆ DoOneSearchStep()

path * CFOptimalRefinement::DoOneSearchStep ( )

◆ FindTopLevelNode()

node * CFOptimalRefinement::FindTopLevelNode ( node one,
node two,
GraphAbstraction aMap 
)
private

◆ GetName()

const char * CFOptimalRefinement::GetName ( )
virtual

Implements SearchAlgorithm.

Definition at line 25 of file CFOptimalRefinement.cpp.

◆ GetPath()

path * CFOptimalRefinement::GetPath ( GraphAbstraction aMap,
node from,
node to,
reservationProvider rp = 0 
)
virtual

Implements SearchAlgorithm.

Definition at line 30 of file CFOptimalRefinement.cpp.

References DoOneSearchStep(), and InitializeSearch().

◆ GetRealNode()

node * CFOptimalRefinement::GetRealNode ( node gNode) const
private

◆ InitializeSearch()

bool CFOptimalRefinement::InitializeSearch ( GraphAbstraction aMap,
node from,
node to 
)

◆ MakeNeighborsOpen()

void CFOptimalRefinement::MakeNeighborsOpen ( node gNode)
private

◆ OpenGLDraw()

void CFOptimalRefinement::OpenGLDraw ( ) const

◆ RefineNode()

void CFOptimalRefinement::RefineNode ( node gNode)
private

◆ SetInitialValues()

void CFOptimalRefinement::SetInitialValues ( node gNewNode,
node aRealNode,
node gParent 
)
private

◆ ShouldAddEdge()

bool CFOptimalRefinement::ShouldAddEdge ( node aLowerNode,
node aHigherNode 
)
private

◆ UpdateG()

void CFOptimalRefinement::UpdateG ( node gNode)
private

◆ UpdateH()

void CFOptimalRefinement::UpdateH ( node gNode)
private

◆ UpdateNode()

void CFOptimalRefinement::UpdateNode ( node gNode)
private

◆ UpdateOptH()

void CFOptimalRefinement::UpdateOptH ( node gNode)
private

Member Data Documentation

◆ absGraph

GraphAbstraction* CFOptimalRefinement::absGraph
private

◆ aGoal

node * CFOptimalRefinement::aGoal
private

◆ aStart

node* CFOptimalRefinement::aStart
private

◆ g

Graph* CFOptimalRefinement::g
private

◆ gGoal

node * CFOptimalRefinement::gGoal
private

◆ gStart

node* CFOptimalRefinement::gStart
private

◆ q

PQueue CFOptimalRefinement::q
private

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