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

#include <AbstractWeightedSearchAlgorithm.h>

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

Public Member Functions

 OctileHeuristic (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 292 of file AbstractWeightedSearchAlgorithm.h.

Constructor & Destructor Documentation

◆ OctileHeuristic()

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

Definition at line 294 of file AbstractWeightedSearchAlgorithm.h.

Member Function Documentation

◆ GetGraph()

Graph* OctileHeuristic::GetGraph ( )
inlinevirtual

Implements GraphHeuristic.

Definition at line 296 of file AbstractWeightedSearchAlgorithm.h.

References g.

◆ HCost()

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

Member Data Documentation

◆ g

Graph* OctileHeuristic::g
private

Definition at line 311 of file AbstractWeightedSearchAlgorithm.h.

Referenced by GetGraph(), and HCost().

◆ m

Map* OctileHeuristic::m
private

Definition at line 310 of file AbstractWeightedSearchAlgorithm.h.


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