#include <grid_astar.h>
Classes | |
| class | Gridmap |
| class | GridmapUpdate |
| class | PriorityVec |
Public Types | |
| using | ProgressCallback = std::function< bool(const std::list< Vec > &, const SearchStats &)> |
| using | Vec = CyclicVecInt< DIM, NONCYCLIC > |
| using | Vecf = CyclicVecFloat< DIM, NONCYCLIC > |
| using | VecWithCost = typename GridAstarModelBase< DIM, NONCYCLIC >::VecWithCost |
Public Member Functions | |
| constexpr int | getDim () const |
| constexpr int | getNoncyclic () const |
| GridAstar () | |
| GridAstar (const Vec size) | |
| void | reset (const Vec size) |
| bool | search (const std::vector< VecWithCost > &ss, const Vec &e, std::list< Vec > &path, const typename GridAstarModelBase< DIM, NONCYCLIC >::Ptr &model, ProgressCallback cb_progress, const float cost_leave, const float progress_interval, const bool return_best=false) |
| void | setQueueSizeLimit (const size_t size) |
| void | setSearchTaskNum (const size_t &search_task_num) |
Protected Member Functions | |
| bool | findPath (const std::vector< VecWithCost > &ss, const Vec &e, std::list< Vec > &path) const |
| bool | searchImpl (Gridmap< float > &g, const std::vector< VecWithCost > &sts, const Vec &en, std::list< Vec > &path, const typename GridAstarModelBase< DIM, NONCYCLIC >::Ptr &model, ProgressCallback cb_progress, const float cost_leave, const float progress_interval, const bool return_best=false) |
Protected Attributes | |
| Gridmap< float > | g_ |
| reservable_priority_queue< PriorityVec > | open_ |
| std::unordered_map< Vec, Vec, Vec > | parents_ |
| size_t | queue_size_limit_ |
| size_t | search_task_num_ |
Definition at line 64 of file grid_astar.h.
| using planner_cspace::GridAstar< DIM, NONCYCLIC >::ProgressCallback = std::function<bool(const std::list<Vec>&, const SearchStats&)> |
Definition at line 70 of file grid_astar.h.
| using planner_cspace::GridAstar< DIM, NONCYCLIC >::Vec = CyclicVecInt<DIM, NONCYCLIC> |
Definition at line 67 of file grid_astar.h.
| using planner_cspace::GridAstar< DIM, NONCYCLIC >::Vecf = CyclicVecFloat<DIM, NONCYCLIC> |
Definition at line 68 of file grid_astar.h.
| using planner_cspace::GridAstar< DIM, NONCYCLIC >::VecWithCost = typename GridAstarModelBase<DIM, NONCYCLIC>::VecWithCost |
Definition at line 69 of file grid_astar.h.
|
inline |
Definition at line 154 of file grid_astar.h.
|
inlineexplicit |
Definition at line 159 of file grid_astar.h.
|
inlineprotected |
Definition at line 385 of file grid_astar.h.
|
inline |
Definition at line 134 of file grid_astar.h.
|
inline |
Definition at line 138 of file grid_astar.h.
|
inline |
Definition at line 147 of file grid_astar.h.
|
inline |
Definition at line 169 of file grid_astar.h.
|
inlineprotected |
Definition at line 185 of file grid_astar.h.
|
inline |
Definition at line 164 of file grid_astar.h.
|
inline |
Definition at line 142 of file grid_astar.h.
|
protected |
Definition at line 414 of file grid_astar.h.
|
protected |
Definition at line 416 of file grid_astar.h.
|
protected |
Definition at line 415 of file grid_astar.h.
|
protected |
Definition at line 417 of file grid_astar.h.
|
protected |
Definition at line 418 of file grid_astar.h.