GoalSampleableRegion.h
Abstract definition of a goal region that can be sampled.
Definition: GoalSampleableRegion.h:48
virtual void sampleGoal(State *st) const =0
Sample a state in the goal region.
bool canSample() const
Return true if maxSampleCount() > 0, since in this case samples can certainly be produced.
Definition: GoalSampleableRegion.h:65
virtual bool couldSample() const
Return true if samples could be generated by this sampler at some point in the future....
Definition: GoalSampleableRegion.h:75
GoalSampleableRegion(const SpaceInformationPtr &si)
Create a goal region that can be sampled.
Definition: GoalSampleableRegion.h:51
virtual unsigned int maxSampleCount() const =0
Return the maximum number of samples that can be asked for before repeating.
A shared pointer wrapper for ompl::base::SpaceInformation.
@ GOAL_SAMPLEABLE_REGION
This bit is set if casting to sampleable goal regions (ompl::base::GoalSampleableRegion) is possible.
Definition: GoalTypes.h:56
Main namespace. Contains everything in this library.
Definition: ConstrainedSpaceInformation.h:53