Go to the documentation of this file. 1 #ifndef AIKIDO_CONSTRAINT_TESTABLESUBSPACE_HPP_
2 #define AIKIDO_CONSTRAINT_TESTABLESUBSPACE_HPP_
10 namespace constraint {
24 std::shared_ptr<const statespace::CartesianProduct> _stateSpace,
25 std::vector<ConstTestablePtr> _constraints);
35 std::unique_ptr<TestableOutcome>
createOutcome()
const override;
38 std::shared_ptr<const statespace::CartesianProduct>
mStateSpace;
45 #endif // define AIKIDO_CONSTRAINT_SAMPLEABLESUBSPACE_HPP_
Format of serialized trajectory in YAML.
Definition: algorithm.hpp:4
bool isSatisfied(const aikido::statespace::StateSpace::State *_state, TestableOutcome *outcome=nullptr) const override
Returns true if state satisfies this constraint.
Constraint which can be tested.
Definition: Testable.hpp:17
std::shared_ptr< const StateSpace > ConstStateSpacePtr
Definition: StateSpace.hpp:15
CartesianProductTestable(std::shared_ptr< const statespace::CartesianProduct > _stateSpace, std::vector< ConstTestablePtr > _constraints)
Constructor.
statespace::ConstStateSpacePtr getStateSpace() const override
Returns StateSpace in which this constraint operates.
Base class for constraint outcomes.
Definition: TestableOutcome.hpp:13
std::shared_ptr< const statespace::CartesianProduct > mStateSpace
Definition: CartesianProductTestable.hpp:38
Testable for CompoundStates.
Definition: CartesianProductTestable.hpp:15
Definition: StateSpace.hpp:167
std::vector< ConstTestablePtr > mConstraints
Definition: CartesianProductTestable.hpp:39
std::unique_ptr< TestableOutcome > createOutcome() const override
Return an instance of DefaultTestableOutcome, since this class doesn't have a more specialized Testab...