Go to the documentation of this file. 1 #ifndef AIKIDO_CONSTRAINT_FINITESAMPLEABLE_HPP_
2 #define AIKIDO_CONSTRAINT_FINITESAMPLEABLE_HPP_
28 const std::vector<const statespace::StateSpace::State*>& _states);
46 std::vector<statespace::StateSpace::State*>
mStates;
52 #endif // AIKIDO_CONSTRAINT_FINITESAMPLEABLE_HPP_
Format of serialized trajectory in YAML.
Definition: algorithm.hpp:4
statespace::ConstStateSpacePtr getStateSpace() const override
Gets the StateSpace that this constraint operates on.
std::shared_ptr< const StateSpace > ConstStateSpacePtr
Definition: StateSpace.hpp:15
std::unique_ptr< SampleGenerator > createSampleGenerator() const override
Creates a SampleGenerator for sampling from this constraint.
Constraint that may be sampled from.
Definition: Sampleable.hpp:27
FiniteSampleable & operator=(const FiniteSampleable &other)=delete
statespace::ConstStateSpacePtr mStateSpace
Definition: FiniteSampleable.hpp:45
std::shared_ptr< StateSpace > StateSpacePtr
Definition: StateSpace.hpp:15
Definition: StateSpace.hpp:167
FiniteSampleable(statespace::StateSpacePtr _stateSpace, const statespace::StateSpace::State *_state)
Constructor for single-sample constraint.
virtual ~FiniteSampleable()
std::vector< statespace::StateSpace::State * > mStates
Definition: FiniteSampleable.hpp:46
Constraint that always returns a finite set of samples.
Definition: FiniteSampleable.hpp:12