DeterministicStateSampler.h
78 DeterministicStateSampler(const StateSpace *space, std::shared_ptr<DeterministicSequence> sequence_ptr);
115 SO2DeterministicStateSampler(const StateSpace *space, std::shared_ptr<DeterministicSequence> sequence_ptr)
150 bool stretch_{false}; // indicates whether the state is samples in [0,1] and should be stretched to the
167 SE2DeterministicStateSampler(const StateSpace *space, std::shared_ptr<DeterministicSequence> sequence_ptr,
169 : DeterministicStateSampler(space, sequence_ptr), stretch_rv_(stretch_rv), stretch_so2_(stretch_so2)
178 bool stretch_rv_; // indicates whether the xy state is sampled in [0,1] and should be stretched to the
void sampleUniformNear(State *state, const State *near, double distance) override
Sample a state near another, within a neighborhood controlled by a distance parameter.
Definition: DeterministicStateSampler.cpp:142
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: DeterministicStateSampler.cpp:147
Representation of a space in which planning can be performed. Topology specific sampling,...
Definition: StateSpace.h:134
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: DeterministicStateSampler.cpp:179
void sampleUniformNear(State *state, const State *near, double distance) override
Sample a state near another, within a neighborhood controlled by a distance parameter.
Definition: DeterministicStateSampler.cpp:206
virtual void sampleUniformNear(State *, const State *, double)
Sample a state near another, within a neighborhood controlled by a distance parameter.
Definition: DeterministicStateSampler.h:185
virtual void copyFromReals(State *destination, const std::vector< double > &reals) const
Copy the values from reals to the state destination using getValueAddressAtLocation()
Definition: StateSpace.cpp:337
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: DeterministicStateSampler.cpp:211
void sampleUniform(State *state) override
Sample a state.
Definition: DeterministicStateSampler.cpp:135
void sampleUniformNear(State *state, const State *near, double distance) override
Sample a state near another, within a neighborhood controlled by a distance parameter.
Definition: DeterministicStateSampler.cpp:174
void sampleUniform(State *state) override
Sample a state.
Definition: DeterministicStateSampler.cpp:184
RealVectorDeterministicStateSampler(const StateSpace *space, DeterministicSamplerType type=DeterministicSamplerType::HALTON)
Constructor, which creates the sequence internally based on the specified sequence type....
Definition: DeterministicStateSampler.h:195
SO2DeterministicStateSampler(const StateSpace *space, DeterministicSamplerType type=DeterministicSamplerType::HALTON)
Constructor, which creates the sequence internally based on the specified sequence type....
Definition: DeterministicStateSampler.h:172
SE2DeterministicStateSampler(const StateSpace *space, DeterministicSamplerType type=DeterministicSamplerType::HALTON)
Constructor, which creates the sequence internally based on the specified sequence type....
Definition: DeterministicStateSampler.h:224
DeterministicStateSampler(const StateSpace *space, DeterministicSamplerType type=DeterministicSamplerType::HALTON)
Constructor, which creates the sequence internally based on the specified sequence type....
Definition: DeterministicStateSampler.cpp:114
An abstract class for the concept of using deterministic sampling sequences to decrease the dispersio...
Definition: DeterministicStateSampler.h:128
virtual void sampleGaussian(State *, const State *, double)
Sample a state using a Gaussian distribution with given mean and standard deviation (stdDev).
Definition: DeterministicStateSampler.h:189
void sampleUniform(State *state) override
Sample a state.
Definition: DeterministicStateSampler.cpp:152