base::GoalSampleableRegion Class Reference
Abstract definition of a goal region that can be sampled. More...
#include <ompl/base/goals/GoalSampleableRegion.h>
Inheritance diagram for base::GoalSampleableRegion:

Public Member Functions | |
GoalSampleableRegion (const SpaceInformationPtr &si) | |
Create a goal region that can be sampled. | |
virtual void | sampleGoal (State *st) const =0 |
Sample a state in the goal region. | |
virtual unsigned int | maxSampleCount () const =0 |
Return the maximum number of samples that can be asked for before repeating. | |
bool | canSample () const |
Return true if maxSampleCount() > 0, since in this case samples can certainly be produced. | |
virtual bool | couldSample () const |
Return true if samples could be generated by this sampler at some point in the future. By default this is equivalent to canSample(), but for GoalLazySamples, this call also reflects the fact that a sampling thread is active and although no samples are produced yet, some may become available at some point in the future. |
Detailed Description
Abstract definition of a goal region that can be sampled.
Definition at line 49 of file GoalSampleableRegion.h.
The documentation for this class was generated from the following file:
- ompl/base/goals/GoalSampleableRegion.h