|
| SearchResult< GridCell > | a_star_grid (const OccupancyGrid &grid, const GridCell &start, const GridCell &goal, bool diagonal=true, real_t weight=1.0) |
| | A* on an occupancy grid, moving to the neighbours of a cell (see OccupancyGrid::neighbours) with the distance between cell centres as the cost and the straight-line distance to the goal as the heuristic, which never guesses too high.
|
| template<typename Node, typename Neighbours, typename Cost, typename Heuristic> |
| SearchResult< Node > | a_star (const Node &start, const Node &goal, Neighbours neighbours, Cost cost, Heuristic heuristic, real_t weight=1.0) |
| | A* search from start to goal.
|
| bool | line_of_sight (const OccupancyGrid &grid, const GridCell &a, const GridCell &b) |
| | Whether the straight segment between the centres of cells a and b stays clear: every cell the segment passes through is free, and it does not cut between two obstacles that meet at a corner. Used by theta_star_grid, and for drawing an any-angle path.
|
| SearchResult< GridCell > | bfs_grid (const OccupancyGrid &grid, const GridCell &start, const GridCell &goal, bool diagonal=true) |
| | Breadth-first search on an occupancy grid.
|
| SearchResult< GridCell > | theta_star_grid (const OccupancyGrid &grid, const GridCell &start, const GridCell &goal) |
| | Theta*: any-angle search on an occupancy grid.
|