Definition of a goal state. More...
#include <GoalState.h>
Public Member Functions | |
GoalState (const SpaceInformationPtr &si) | |
Create a goal representation that is in fact a state. | |
virtual void | sampleGoal (State *st) const |
Sample a state in the goal region. | |
virtual unsigned int | maxSampleCount (void) const |
Return the maximum number of samples that can be asked for before repeating. | |
virtual double | distanceGoal (const State *st) const |
Compute the distance to the goal (heuristic) | |
virtual void | print (std::ostream &out=std::cout) const |
Print information about the goal data structure to a stream. | |
void | setState (const State *st) |
Set the goal state. | |
void | setState (const ScopedState<> &st) |
Set the goal state. | |
Public Attributes | |
State * | state |
The goal state. |
Definition of a goal state.
Definition at line 50 of file GoalState.h.