PropositionalTriangularDecomposition.cpp
76 oc::PropositionalTriangularDecomposition::PropositionalTriangularDecomposition(const ob::RealVectorBounds &bounds,
137 WrapperDecomposition::WrapperDecomposition(const oc::Decomposition *decomp, const ob::RealVectorBounds &bounds,
148 void WrapperDecomposition::sampleFromRegion(int rid, ompl::RNG &rng, std::vector<double> &coord) const
Random number generation. An instance of this class cannot be used by multiple threads at once (membe...
Definition: RandomNumbers.h:89
void sampleFromRegion(int triID, RNG &rng, std::vector< double > &coord) const override
Samples a projected coordinate from a given region.
Definition: TriangularDecomposition.cpp:172
This namespace contains sampling based planning routines shared by both planning under geometric cons...
Definition: ConstrainedSpaceInformation.h:86
int getNumProps() const override
Returns the number of propositions in this propositional decomposition.
Definition: PropositionalTriangularDecomposition.cpp:84
PropositionalTriangularDecomposition(const base::RealVectorBounds &bounds, const std::vector< Polygon > &holes=std::vector< Polygon >(), const std::vector< Polygon > &props=std::vector< Polygon >())
Creates a PropositionalTriangularDecomposition over the given bounds, which must be 2-dimensional....
Definition: PropositionalTriangularDecomposition.cpp:76
World worldAtRegion(int triID) override
Returns the World corresponding to a given region.
Definition: PropositionalTriangularDecomposition.cpp:89
A TriangularDecomposition is a triangulation that ignores obstacles.
Definition: TriangularDecomposition.h:119
A Decomposition is a partition of a bounded Euclidean space into a fixed number of regions which are ...
Definition: Decomposition.h:126
virtual void sampleFullState(const base::StateSamplerPtr &sampler, const std::vector< double > &coord, base::State *s) const =0
Samples a State using a projected coordinate and a StateSampler.
This namespace contains sampling based planning routines used by planning under differential constrai...
Definition: Control.h:76
virtual void project(const base::State *s, std::vector< double > &coord) const =0
Project a given State to a set of coordinates in R^k, where k is the dimension of this Decomposition.
A propositional decomposition wraps a given Decomposition with a region-to-proposition assignment ope...
Definition: PropositionalDecomposition.h:127
The lower and upper bounds for an Rn space.
Definition: RealVectorBounds.h:111
A class to represent an assignment of boolean values to propositions. A World can be partially restri...
Definition: World.h:71