Main Page
Namespaces
Classes
Files
File List
File Members
libism
ISM
heuristic_trainer
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
{
33
class
ManuallyDefPseudoHeuristic
:
public
Heuristic
{
34
public
:
35
36
struct
ClusterObject
37
{
38
ClusterObject
(uint16_t
clusterId
) :
isCluster
(true)
39
{
40
mObjectOrCluster
=
clusterId
;
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);
52
~ManuallyDefPseudoHeuristic
();
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
}
ISM::ManuallyDefPseudoHeuristic::~ManuallyDefPseudoHeuristic
~ManuallyDefPseudoHeuristic()
Definition:
ManuallyDefPseudoHeuristic.cpp:28
ISM::ManuallyDefPseudoHeuristic::ClusterObject::ClusterObject
ClusterObject(std::string objectType)
Definition:
ManuallyDefPseudoHeuristic.hpp:43
Object.hpp
Tracks.hpp
ISM::ManuallyDefPseudoHeuristic::ClusterObject::ClusterObject
ClusterObject(uint16_t clusterId)
Definition:
ManuallyDefPseudoHeuristic.hpp:38
ISM::ManuallyDefPseudoHeuristic::ManuallyDefPseudoHeuristic
ManuallyDefPseudoHeuristic(std::vector< std::pair< std::vector< ClusterObject >, uint16_t >> clusters)
Definition:
ManuallyDefPseudoHeuristic.cpp:23
ISM::ManuallyDefPseudoHeuristic::ClusterObject::isCluster
bool isCluster
Definition:
ManuallyDefPseudoHeuristic.hpp:47
ISM::ManuallyDefPseudoHeuristic::ClusterObject::mObjectOrCluster
boost::variant< uint16_t, std::string > mObjectOrCluster
Definition:
ManuallyDefPseudoHeuristic.hpp:48
ISM::TracksPtr
boost::shared_ptr< Tracks > TracksPtr
Definition:
Tracks.hpp:42
ISM::ManuallyDefPseudoHeuristic::ClusterObject
Definition:
ManuallyDefPseudoHeuristic.hpp:36
ISM::ManuallyDefPseudoHeuristic
Definition:
ManuallyDefPseudoHeuristic.hpp:33
ISM
this namespace contains all generally usable classes.
Definition:
AcceptanceFunction.hpp:22
ISM::Heuristic::clusterId
int32_t clusterId
Definition:
Heuristic.hpp:41
ISM::ManuallyDefPseudoHeuristic::mClusters
std::vector< std::pair< std::vector< ClusterObject >, uint16_t > > mClusters
Definition:
ManuallyDefPseudoHeuristic.hpp:58
Heuristic.hpp
ISM::ManuallyDefPseudoHeuristic::applyHeuristic
virtual void applyHeuristic(const TracksPtr &tracks)
Definition:
ManuallyDefPseudoHeuristic.cpp:31
ISM::Heuristic
Definition:
Heuristic.hpp:29
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