XXLPlanarDecomposition.cpp
42 ompl::geometric::XXLPlanarDecomposition::XXLPlanarDecomposition(const base::RealVectorBounds &xyBounds,
45 : diagonalEdges_(diagonalEdges), xyBounds_(xyBounds), xySlices_(xySlices), thetaSlices_(thetaSlices)
84 ompl::geometric::XXLPlanarDecomposition::XXLPlanarDecomposition(const base::RealVectorBounds &xyBounds,
154 int ompl::geometric::XXLPlanarDecomposition::locateRegion(const std::vector<double> &coord) const
159 void ompl::geometric::XXLPlanarDecomposition::getNeighbors(int rid, std::vector<int> &neighbors) const
169 void ompl::geometric::XXLPlanarDecomposition::getNeighborhood(int rid, std::vector<int> &neighborhood) const
174 void ompl::geometric::XXLPlanarDecomposition::getNonDiagonalNeighbors(int rid, std::vector<int> &neighbors) const
224 void ompl::geometric::XXLPlanarDecomposition::getDiagonalNeighbors(int rid, std::vector<int> &neighbors) const
274 int ompl::geometric::XXLPlanarDecomposition::coordToRegion(const std::vector<double> &coord) const
290 void ompl::geometric::XXLPlanarDecomposition::ridToGridCell(int rid, std::vector<int> &cell) const
339 void ompl::geometric::XXLPlanarDecomposition::sampleCoordinateFromRegion(int r, std::vector<double> &coord) const
virtual int locateRegion(const base::State *s) const
Return the id of the region that this state falls in.
Definition: XXLPlanarDecomposition.cpp:147
int gridCellToRid(const std::vector< int > &cell) const
Return the region id corresponding to the (discrete) grid cell coordinates.
Definition: XXLPlanarDecomposition.cpp:302
virtual int getNumRegions() const
Return the total number of regions in this decomposition.
Definition: XXLPlanarDecomposition.cpp:137
virtual void getNeighbors(int rid, std::vector< int > &neighbors) const
Stores the given region's neighbors into a given vector.
Definition: XXLPlanarDecomposition.cpp:159
virtual double distanceHeuristic(int r1, int r2) const
An admissible and consistent distance heuristic between two regions. Manhattan distance on grid.
Definition: XXLPlanarDecomposition.cpp:311
int coordToRegion(const std::vector< double > &coord) const
Return the region id of the given coordinate in the decomposition.
Definition: XXLPlanarDecomposition.cpp:274
virtual int getDimension() const
Return the dimension of this HiLoDecomposition.
Definition: XXLPlanarDecomposition.cpp:142
virtual void getNeighborhood(int rid, std::vector< int > &neighborhood) const
Stores the given region's neighbors into the vector. This returns the 8-connected grid neighbors of t...
Definition: XXLPlanarDecomposition.cpp:169
bool hasDiagonalEdges() const
Return true if the decomposition has diagonal edges.
Definition: XXLPlanarDecomposition.cpp:333