|
Aikido
|
Uniform sampler for SO2States. More...
#include <aikido/constraint/uniform/SO2UniformSampler.hpp>
Public Member Functions | |
| SO2UniformSampler (std::shared_ptr< const statespace::SO2 > _space, std::unique_ptr< common::RNG > _rng) | |
| Constructor. More... | |
| statespace::ConstStateSpacePtr | getStateSpace () const override |
| Gets the StateSpace that this constraint operates on. More... | |
| std::unique_ptr< constraint::SampleGenerator > | createSampleGenerator () const override |
| Creates a SampleGenerator for sampling from this constraint. More... | |
Public Member Functions inherited from aikido::constraint::Sampleable | |
| virtual | ~Sampleable ()=default |
Private Attributes | |
| std::shared_ptr< const statespace::SO2 > | mSpace |
| std::unique_ptr< common::RNG > | mRng |
Uniform sampler for SO2States.
Its SampleGenerators will sample uniformly from SO2, and the sequence of samples is deterministically generated given a random number generator seed.
| aikido::constraint::uniform::SO2UniformSampler::SO2UniformSampler | ( | std::shared_ptr< const statespace::SO2 > | _space, |
| std::unique_ptr< common::RNG > | _rng | ||
| ) |
Constructor.
| _space | SO2 in which this constraint operates. |
| _rng | Random number generator which determines the sampling sequence of this constraint's SampleGenerators. |
|
overridevirtual |
Creates a SampleGenerator for sampling from this constraint.
Implements aikido::constraint::Sampleable.
|
overridevirtual |
Gets the StateSpace that this constraint operates on.
Implements aikido::constraint::Sampleable.
|
private |
|
private |