AbstractHeuristic.cpp
Go to the documentation of this file.
1 
19 
20 namespace SceneModel {
21 
22  AbstractHeuristic::AbstractHeuristic(std::string pDescription)
23  : mDescription(pDescription)
24  , score(0)
25  {
26  }
27 
29  {
30  }
31 
32 
34  {
35  // This method is abstract, so no implementation here.
36  }
37 
39  {
40  // This method is abstract, so no implementation here.
41  }
42 
44  {
45  // This method is abstract, so no implementation here.
47  }
48 
50  {
51  // This method is abstract, so no implementation here.
53  }
54 
56  {
57  candidates.clear();
58  score = 0;
59  }
60 
62  {
63  return (score < heuristic.score);
64  }
65 
66 }
bool operator<(const AbstractHeuristic &heuristic) const
virtual void apply(std::vector< boost::shared_ptr< TreeNode > > pNodes)
AbstractHeuristic(std::string pDescription)
virtual boost::shared_ptr< TreeNode > getBestCluster()
virtual boost::shared_ptr< TreeNode > getBestParentNode()
std::vector< boost::shared_ptr< TreeNode > > candidates


asr_relation_graph_generator
Author(s): Meißner Pascal
autogenerated on Fri Nov 15 2019 03:39:19