base::GoalState Class Reference

Definition of a goal state. More...

#include <ompl/base/goals/GoalState.h>

Inheritance diagram for base::GoalState:

List of all members.

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 StategetState () const
 Get the goal state.
StategetState ()
 Get the goal state.

Protected Attributes

Statestate_
 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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines