PropositionalDecomposition.h
double getRegionVolume(int rid) override
Returns the volume of a given region.
Definition: PropositionalDecomposition.cpp:58
virtual int getNumProps() const =0
Returns the number of propositions in this propositional decomposition.
int getNumRegions() const override
Returns the number of regions in this propositional decomposition's underlying decomposition.
Definition: PropositionalDecomposition.cpp:53
void sampleFullState(const base::StateSamplerPtr &sampler, const std::vector< double > &coord, base::State *s) const override
Samples a State using a projected coordinate and a StateSampler.
Definition: PropositionalDecomposition.cpp:83
~PropositionalDecomposition() override
Clears all memory belonging to this propositional decomposition.
void getNeighbors(int rid, std::vector< int > &neighbors) const override
Stores a given region's neighbors into a given vector.
Definition: PropositionalDecomposition.cpp:73
PropositionalDecomposition(const DecompositionPtr &decomp)
Creates a propositional decomposition wrapped around a given decomposition with a given number of pro...
Definition: PropositionalDecomposition.cpp:46
A shared pointer wrapper for ompl::control::Decomposition.
void sampleFromRegion(int rid, RNG &rng, std::vector< double > &coord) const override
Samples a projected coordinate from a given region.
Definition: PropositionalDecomposition.cpp:78
int locateRegion(const base::State *s) const override
Returns the region of the underlying decomposition that contains a given State.
Definition: PropositionalDecomposition.cpp:63
virtual World worldAtRegion(int rid)=0
Returns the World corresponding to a given region.
void project(const base::State *s, std::vector< double > &coord) const override
Project a given State to a set of coordinates in R^k, where k is the dimension of this Decomposition.
Definition: PropositionalDecomposition.cpp:68
Main namespace. Contains everything in this library.
Definition: MultiLevelPlanarManipulatorDemo.cpp:65