XXLDecomposition.h
104 virtual bool sampleFromRegion(int r, base::State *s, const base::State *seed = nullptr) const = 0;
107 virtual bool sampleFromRegion(int r, base::State *s, const base::State *seed, int layer) const = 0;
110 virtual void project(const base::State *s, std::vector<double> &coord, int layer = 0) const = 0;
127 };
virtual bool sampleFromRegion(int r, base::State *s, const base::State *seed=nullptr) const =0
Sample a state s from region r in layer 0.
virtual double distanceHeuristic(int r1, int r2) const =0
An admissible and consistent distance heuristic between two regions.
virtual bool canSteer() const
Returns true if the method steerToRegion is available.
Definition: XXLDecomposition.h:180
virtual int locateRegion(const base::State *s) const =0
Returns the index of the region containing a given State. Most often, this is obtained by first calli...
virtual int getDimension() const =0
Return the dimension of this XXLDecomposition.
virtual void getNeighborhood(int rid, std::vector< int > &neighborhood) const
Return a list of regions in the neighborhood of rid. This method is intended to retrieve all regions ...
Definition: XXLDecomposition.h:159
virtual int numLayers() const =0
Return the number of layers possible in this decomposition. Must be at least 1.
virtual void project(const base::State *s, std::vector< double > &coord, int layer=0) const =0
Project the given State into the XXLDecomposition.
virtual void getNeighbors(int rid, std::vector< int > &neighbors) const =0
Stores the given region's neighbors into a given vector. These are adjacent neighbors.
virtual int getNumRegions() const =0
Returns the number of regions in this XXLDecomposition.
Main namespace. Contains everything in this library.
Definition: MultiLevelPlanarManipulatorDemo.cpp:65