Abstract definition of a state space sampler. More...
#include <StateSampler.h>
Public Member Functions | |
StateSampler (const StateSpace *space) | |
Constructor. | |
virtual void | sampleUniform (State *state)=0 |
Sample a state. | |
virtual void | sampleUniformNear (State *state, const State *near, const double distance)=0 |
Sample a state near another, within specified distance. | |
virtual void | sampleGaussian (State *state, const State *mean, const double stdDev)=0 |
Sample a state using a Gaussian distribution with given mean and standard deviation (stdDev) | |
Protected Attributes | |
const StateSpace * | space_ |
The state space this sampler samples. | |
RNG | rng_ |
An instance of a random number generator. |
Abstract definition of a state space sampler.
Definition at line 60 of file StateSampler.h.