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

#include <GraphEnvironment.h>

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

Public Member Functions

 GraphMapHeuristic (Map *map, Graph *graph)
 
GraphGetGraph ()
 
double HCost (const graphState &state1, const graphState &state2) const
 
- Public Member Functions inherited from GraphHeuristic
virtual ~GraphHeuristic ()
 
virtual void ChooseStartGoal (graphState &, graphState &)
 
virtual void OpenGLDraw () const
 

Private Attributes

Mapm
 
Graphg
 

Detailed Description

Definition at line 124 of file GraphEnvironment.h.

Constructor & Destructor Documentation

◆ GraphMapHeuristic()

GraphMapHeuristic::GraphMapHeuristic ( Map map,
Graph graph 
)
inline

Definition at line 126 of file GraphEnvironment.h.

Member Function Documentation

◆ GetGraph()

Graph* GraphMapHeuristic::GetGraph ( )
inlinevirtual

Implements GraphHeuristic.

Definition at line 128 of file GraphEnvironment.h.

References g.

◆ HCost()

double GraphMapHeuristic::HCost ( const graphState state1,
const graphState state2 
) const
inlinevirtual

Member Data Documentation

◆ g

Graph* GraphMapHeuristic::g
private

Definition at line 142 of file GraphEnvironment.h.

Referenced by GetGraph(), and HCost().

◆ m

Map* GraphMapHeuristic::m
private

Definition at line 141 of file GraphEnvironment.h.


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