base::GoalState Class Reference
Definition of a goal state. More...
#include <ompl/base/goals/GoalState.h>
Inheritance diagram for base::GoalState:

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 () 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. | |
const State * | getState () const |
Get the goal state. | |
State * | getState () |
Get the goal state. | |
Protected Attributes | |
State * | state_ |
The goal state. |
Detailed Description
Definition of a goal state.
Definition at line 50 of file GoalState.h.
The documentation for this class was generated from the following files:
- ompl/base/goals/GoalState.h
- ompl/base/goals/src/GoalState.cpp