Heuristic.hpp
Go to the documentation of this file.
1 
18 #pragma once
19 
20 #include <boost/shared_ptr.hpp>
21 #include <vector>
22 #include <string>
23 #include "common_type/Tracks.hpp"
24 
25 namespace ISM {
29  class Heuristic {
30  protected:
32  Heuristic(std::string name) : name(name), confidence(0), clusterId(-1) {};
33 
34  public:
35 
36  virtual void applyHeuristic(const TracksPtr& tracks) = 0;
37 
38  std::string name;
39  double confidence;
41  int32_t clusterId;
42  };
43 
44  typedef boost::shared_ptr<Heuristic> HeuristicPtr;
45 }
Heuristic(std::string name)
Definition: Heuristic.hpp:32
std::string name
Definition: Heuristic.hpp:38
boost::shared_ptr< Heuristic > HeuristicPtr
Definition: Heuristic.hpp:44
TracksPtr cluster
Definition: Heuristic.hpp:40
virtual void applyHeuristic(const TracksPtr &tracks)=0
boost::shared_ptr< Tracks > TracksPtr
Definition: Tracks.hpp:42
double confidence
Definition: Heuristic.hpp:39
this namespace contains all generally usable classes.
int32_t clusterId
Definition: Heuristic.hpp:41


asr_lib_ism
Author(s): Hanselmann Fabian, Heller Florian, Heizmann Heinrich, Kübler Marcel, Mehlhaus Jonas, Meißner Pascal, Qattan Mohamad, Reckling Reno, Stroh Daniel
autogenerated on Wed Jan 8 2020 04:02:40