#include <goal_union.h>
Public Member Functions | |
| virtual bool | canSample () const |
| Query if sampler can find any sample. | |
| virtual bool | couldSample () const |
| Query if sampler could find a sample in the future. | |
| virtual double | distanceGoal (const ompl::base::State *st) const |
| Find the distance of this state from the goal. | |
| GoalSampleableRegionMux (const std::vector< ompl::base::GoalPtr > &goals) | |
| Constructor. | |
| virtual bool | isSatisfied (const ompl::base::State *st, double *distance) const |
| Is the goal satisfied for this state (given a distance) | |
| virtual unsigned int | maxSampleCount () const |
| Get the max sample count. | |
| virtual void | print (std::ostream &out=std::cout) const |
| Pretty print goal information. | |
| virtual void | sampleGoal (ompl::base::State *st) const |
| Sample a goal. | |
| void | startSampling () |
| If there are any member lazy samplers, start them. | |
| void | stopSampling () |
| If there are any member lazy samplers, stop them. | |
| virtual | ~GoalSampleableRegionMux () |
Protected Attributes | |
| unsigned int | gindex_ |
| std::vector< ompl::base::GoalPtr > | goals_ |
Definition at line 42 of file goal_union.h.
| ompl_interface::GoalSampleableRegionMux::GoalSampleableRegionMux | ( | const std::vector< ompl::base::GoalPtr > & | goals | ) |
| virtual ompl_interface::GoalSampleableRegionMux::~GoalSampleableRegionMux | ( | ) | [inline, virtual] |
Definition at line 49 of file goal_union.h.
| bool ompl_interface::GoalSampleableRegionMux::canSample | ( | ) | const [virtual] |
Query if sampler can find any sample.
Definition at line 97 of file goal_union.cpp.
| bool ompl_interface::GoalSampleableRegionMux::couldSample | ( | ) | const [virtual] |
Query if sampler could find a sample in the future.
Definition at line 105 of file goal_union.cpp.
| double ompl_interface::GoalSampleableRegionMux::distanceGoal | ( | const ompl::base::State * | st | ) | const [virtual] |
Find the distance of this state from the goal.
Definition at line 121 of file goal_union.cpp.
| bool ompl_interface::GoalSampleableRegionMux::isSatisfied | ( | const ompl::base::State * | st, |
| double * | distance | ||
| ) | const [virtual] |
Is the goal satisfied for this state (given a distance)
Definition at line 113 of file goal_union.cpp.
| unsigned int ompl_interface::GoalSampleableRegionMux::maxSampleCount | ( | ) | const [virtual] |
Get the max sample count.
Definition at line 89 of file goal_union.cpp.
| void ompl_interface::GoalSampleableRegionMux::print | ( | std::ostream & | out = std::cout | ) | const [virtual] |
Pretty print goal information.
Definition at line 133 of file goal_union.cpp.
| void ompl_interface::GoalSampleableRegionMux::sampleGoal | ( | ompl::base::State * | st | ) | const [virtual] |
Sample a goal.
Definition at line 75 of file goal_union.cpp.
If there are any member lazy samplers, start them.
Definition at line 61 of file goal_union.cpp.
If there are any member lazy samplers, stop them.
Definition at line 68 of file goal_union.cpp.
unsigned int ompl_interface::GoalSampleableRegionMux::gindex_ [mutable, protected] |
Definition at line 82 of file goal_union.h.
std::vector<ompl::base::GoalPtr> ompl_interface::GoalSampleableRegionMux::goals_ [protected] |
Definition at line 81 of file goal_union.h.