PrecomputedStateSampler.h
void sampleUniformNear(State *state, const State *near, double distance) override
Sample a state near another, within a neighborhood controlled by a distance parameter.
Definition: PrecomputedStateSampler.cpp:69
std::size_t maxStateIndex_
The maximum index to stop sampling at.
Definition: PrecomputedStateSampler.h:165
std::size_t minStateIndex_
The minimum index to start sampling at.
Definition: PrecomputedStateSampler.h:162
const std::vector< const State * > & states_
The states to sample from.
Definition: PrecomputedStateSampler.h:159
void sampleGaussian(State *state, const State *mean, double stdDev) override
Sample a state using a Gaussian distribution with given mean and standard deviation (stdDev).
Definition: PrecomputedStateSampler.cpp:79
PrecomputedStateSampler(const StateSpace *space, const std::vector< const State * > &states)
Constructor. Takes the state space to be sampled (space) and the set of states to draw samples from (...
Definition: PrecomputedStateSampler.cpp:41