XXLPositionDecomposition.cpp
41 ompl::geometric::XXLPositionDecomposition::XXLPositionDecomposition(const base::RealVectorBounds &bounds,
85 int ompl::geometric::XXLPositionDecomposition::locateRegion(const std::vector<double> &coord) const
90 void ompl::geometric::XXLPositionDecomposition::getNeighbors(int rid, std::vector<int> &neighbors) const
98 void ompl::geometric::XXLPositionDecomposition::getNeighborhood(int rid, std::vector<int> &neighborhood) const
119 void ompl::geometric::XXLPositionDecomposition::ridToGridCell(int rid, std::vector<int> &cell) const
134 int ompl::geometric::XXLPositionDecomposition::gridCellToRid(const std::vector<int> &cell) const
146 int ompl::geometric::XXLPositionDecomposition::coordToRegion(const std::vector<double> &coord) const
164 void ompl::geometric::XXLPositionDecomposition::getNonDiagonalNeighbors(int rid, std::vector<int> &neighbors) const
virtual int getNumRegions() const
Returns the number of regions in this XXLDecomposition.
Definition: XXLPositionDecomposition.cpp:68
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: XXLPositionDecomposition.cpp:98
virtual double distanceHeuristic(int r1, int r2) const
An admissible and consistent distance heuristic between two regions. Manhattan distance on grid.
Definition: XXLPositionDecomposition.cpp:103
bool hasDiagonalEdges() const
Return true if the decomposition has diagonal edges.
Definition: XXLPositionDecomposition.cpp:159
virtual int locateRegion(const base::State *s) const
Return the id of the region that this state falls in.
Definition: XXLPositionDecomposition.cpp:78
int coordToRegion(const std::vector< double > &coord) const
Return the region id of the given coordinate in the decomposition.
Definition: XXLPositionDecomposition.cpp:146
int gridCellToRid(const std::vector< int > &cell) const
Return the region id corresponding to the (discrete) grid cell coordinates.
Definition: XXLPositionDecomposition.cpp:134
virtual void getNeighbors(int rid, std::vector< int > &neighbors) const
Stores the given region's neighbors into a given vector.
Definition: XXLPositionDecomposition.cpp:90
virtual int getDimension() const
Return the dimension of this HiLoDecomposition.
Definition: XXLPositionDecomposition.cpp:73