ManuallyDefPseudoHeuristic.hpp
Go to the documentation of this file.
1 
18 #pragma once
19 
20 #include <boost/shared_ptr.hpp>
21 #include <boost/variant.hpp>
22 
23 #include <Eigen/Geometry>
24 #include "common_type/Tracks.hpp"
25 #include "common_type/Object.hpp"
26 #include "Heuristic.hpp"
27 
28 namespace ISM {
34  public:
35 
37  {
38  ClusterObject(uint16_t clusterId) : isCluster(true)
39  {
41  }
42 
43  ClusterObject(std::string objectType) : isCluster(false)
44  {
45  mObjectOrCluster = objectType;
46  }
47  bool isCluster;
48  boost::variant<uint16_t, std::string> mObjectOrCluster;
49  };
50  ManuallyDefPseudoHeuristic(std::vector<std::pair<std::vector<ClusterObject>, uint16_t>>
51  clusters);
53 
54  virtual void applyHeuristic(const TracksPtr& tracks);
55 
56  private:
57 
58  std::vector<std::pair<std::vector<ClusterObject>, uint16_t>> mClusters;
59  };
60 }
ManuallyDefPseudoHeuristic(std::vector< std::pair< std::vector< ClusterObject >, uint16_t >> clusters)
boost::variant< uint16_t, std::string > mObjectOrCluster
boost::shared_ptr< Tracks > TracksPtr
Definition: Tracks.hpp:42
this namespace contains all generally usable classes.
int32_t clusterId
Definition: Heuristic.hpp:41
std::vector< std::pair< std::vector< ClusterObject >, uint16_t > > mClusters
virtual void applyHeuristic(const TracksPtr &tracks)


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