MaximizeClearanceValidStateSampler.h
unsigned int improveAttempts_
Number of attempts to improve a valid sample.
Definition: MaximizeClearanceValidStateSampler.h:173
void setNrImproveAttempts(unsigned int attempts)
The number of attempts at improving the clearance of the sampled state.
Definition: MaximizeClearanceValidStateSampler.h:157
StateSamplerPtr sampler_
The sampler to build upon.
Definition: MaximizeClearanceValidStateSampler.h:170
bool sampleNear(State *state, const State *near, double distance) override
Sample a state near another, within specified distance. Return false, in case of failure.
Definition: MaximizeClearanceValidStateSampler.cpp:93
bool sample(State *state) override
Sample a state. Return false in case of failure.
Definition: MaximizeClearanceValidStateSampler.cpp:60
MaximizeClearanceValidStateSampler(const SpaceInformation *si)
Constructor.
Definition: MaximizeClearanceValidStateSampler.cpp:40
A shared pointer wrapper for ompl::base::StateSampler.
unsigned int getNrImproveAttempts() const
Get the number of attempts to improve a sampled state.
Definition: MaximizeClearanceValidStateSampler.h:163