30 #ifndef PLANNER_CSPACE_GRID_ASTAR_MODEL_H 31 #define PLANNER_CSPACE_GRID_ASTAR_MODEL_H 40 template <
int DIM = 3,
int NONCYCLIC = 2>
44 using Ptr =
typename std::shared_ptr<GridAstarModelBase<DIM, NONCYCLIC>>;
61 const Vec& cur,
const Vec& next,
const std::vector<VecWithCost>& start,
const Vec& goal)
const = 0;
63 const Vec& cur,
const Vec& next)
const = 0;
65 const Vec& cur,
const std::vector<VecWithCost>& start,
const Vec& goal)
const = 0;
69 #endif // PLANNER_CSPACE_GRID_ASTAR_MODEL_H
virtual const std::vector< Vec > & searchGrids(const Vec &cur, const std::vector< VecWithCost > &start, const Vec &goal) const =0
virtual float costEstim(const Vec &cur, const Vec &next) const =0
typename std::shared_ptr< GridAstarModelBase< DIM, NONCYCLIC >> Ptr
VecWithCost(const Vec &v, const float c=0.0)
virtual float cost(const Vec &cur, const Vec &next, const std::vector< VecWithCost > &start, const Vec &goal) const =0