HOG2
generic
VisualizableGenericSearchAlgorithm.h
Go to the documentation of this file.
1
28
#ifndef VISUALIZABLEGENERICSEARCHALGORITHM_H
29
#define VISUALIZABLEGENERICSEARCHALGORITHM_H
30
31
#include "
GenericSearchAlgorithm.h
"
32
33
template
<
class
state,
class
action>
34
class
VisualizableGenericSearchAlgorithm
:
public
GenericSearchAlgorithm
35
{
36
VisualizableGenericSearchAlgorithm
() {};
37
virtual
~VisualizableGenericSearchAlgorithm
() {};
38
39
bool
Initialize
(
SearchEnvironment<state, action>
*env, state &start, state &goal);
40
bool
StepAlgorithm
(std::vector<action> &
path
);
41
bool
StepAlgorithm
(std::vector<state> &
path
);
42
void
OpenGlDraw
();
43
};
44
45
#endif
GenericSearchAlgorithm.h
An interface for generic search algorithms.
VisualizableGenericSearchAlgorithm::OpenGlDraw
void OpenGlDraw()
VisualizableGenericSearchAlgorithm::StepAlgorithm
bool StepAlgorithm(std::vector< action > &path)
GenericSearchAlgorithm
Definition:
GenericSearchAlgorithm.h:35
VisualizableGenericSearchAlgorithm::~VisualizableGenericSearchAlgorithm
virtual ~VisualizableGenericSearchAlgorithm()
Definition:
VisualizableGenericSearchAlgorithm.h:37
VisualizableGenericSearchAlgorithm
Definition:
VisualizableGenericSearchAlgorithm.h:34
VisualizableGenericSearchAlgorithm::Initialize
bool Initialize(SearchEnvironment< state, action > *env, state &start, state &goal)
path
A linked list of nodes which form a continuous path.
Definition:
Path.h:20
SearchEnvironment
Definition:
SearchEnvironment.h:30
VisualizableGenericSearchAlgorithm::VisualizableGenericSearchAlgorithm
VisualizableGenericSearchAlgorithm()
Definition:
VisualizableGenericSearchAlgorithm.h:36
Generated by
1.8.17