ConditionalStateSampler.h
Random number generation. An instance of this class cannot be used by multiple threads at once (membe...
Definition: RandomNumbers.h:89
A shared pointer wrapper for ompl::base::SpaceInformation.
const SpaceInformation * si_
The state space this sampler samples.
Definition: ValidStateSampler.h:185
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: ConditionalStateSampler.cpp:129
ConditionalStateSampler(const SpaceInformation *si, Motion *&startMotion, std::vector< Motion * > &goalMotions, std::vector< Motion * > &newBatchGoalMotions, bool &sampleOldBatch)
The constructor.
Definition: ConditionalStateSampler.cpp:39
StateSamplerPtr allocStateSampler() const
Allocate a uniform state sampler for the state space.
Definition: SpaceInformation.h:332
bool sample(State *state) override
Sample a state. Return false in case of failure.
Definition: ConditionalStateSampler.cpp:53
A shared pointer wrapper for ompl::base::StateSampler.
std::vector< Motion * > children
The set of motions descending from the current motion.
Definition: ConditionalStateSampler.h:159