An abstract super class providing methods necessary to be used as heuristic function within the FootstepPlanner. More...
#include <Heuristic.h>
Public Types | |
enum | HeuristicType { EUCLIDEAN =0, EUCLIDEAN_STEPCOST =1, PATH_COST =2 } |
Public Member Functions | |
HeuristicType | getHeuristicType () const |
virtual double | getHValue (const PlanningState &from, const PlanningState &to) const =0 |
Heuristic (double cell_size, int num_angle_bins, HeuristicType type) | |
virtual | ~Heuristic () |
Protected Attributes | |
double | ivCellSize |
const HeuristicType | ivHeuristicType |
int | ivNumAngleBins |
An abstract super class providing methods necessary to be used as heuristic function within the FootstepPlanner.
Definition at line 34 of file Heuristic.h.
Enumerator | |
---|---|
EUCLIDEAN | |
EUCLIDEAN_STEPCOST | |
PATH_COST |
Definition at line 37 of file Heuristic.h.
footstep_planner::Heuristic::Heuristic | ( | double | cell_size, |
int | num_angle_bins, | ||
HeuristicType | type | ||
) |
Definition at line 25 of file Heuristic.cpp.
|
virtual |
Definition at line 33 of file Heuristic.cpp.
|
inline |
Definition at line 50 of file Heuristic.h.
|
pure virtual |
Implemented in footstep_planner::EuclStepCostHeuristic, footstep_planner::EuclideanHeuristic, and footstep_planner::PathCostHeuristic.
|
protected |
Definition at line 53 of file Heuristic.h.
|
protected |
Definition at line 56 of file Heuristic.h.
|
protected |
Definition at line 54 of file Heuristic.h.