heuristic.cpp
Go to the documentation of this file.
2 
3 
4 
6 {
9 {
10 }
11 
12 double Heuristic::getHeuristicValue(const State& from, const State& to, const State& start, const State& goal) const
13 {
14  double h = 0.0;
15 
16  for (HeuristicPlugin::Ptr plugin : getPlugins())
17  {
18  if (plugin)
19  h += plugin->getHeuristicValue(from, to, start, goal);
20  }
21 
22  return h;
23 }
24 }
double getHeuristicValue(const State &from, const State &to, const State &start, const State &goal) const
Definition: heuristic.cpp:12
ROSLIB_DECL void getPlugins(const std::string &package, const std::string &attribute, V_string &plugins, bool force_recrawl=false)


vigir_footstep_planning_plugins
Author(s): Alexander Stumpf
autogenerated on Mon Jun 10 2019 15:47:39