Main Page
Namespaces
Classes
Files
File List
File Members
libism
ISM
heuristic_trainer
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
:
31
Heuristic
() :
confidence
(0),
clusterId
(-1) {}
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
;
40
TracksPtr
cluster
;
41
int32_t
clusterId
;
42
};
43
44
typedef
boost::shared_ptr<Heuristic>
HeuristicPtr
;
45
}
ISM::Heuristic::Heuristic
Heuristic(std::string name)
Definition:
Heuristic.hpp:32
ISM::Heuristic::name
std::string name
Definition:
Heuristic.hpp:38
Tracks.hpp
ISM::HeuristicPtr
boost::shared_ptr< Heuristic > HeuristicPtr
Definition:
Heuristic.hpp:44
ISM::Heuristic::cluster
TracksPtr cluster
Definition:
Heuristic.hpp:40
ISM::Heuristic::applyHeuristic
virtual void applyHeuristic(const TracksPtr &tracks)=0
ISM::Heuristic::Heuristic
Heuristic()
Definition:
Heuristic.hpp:31
ISM::TracksPtr
boost::shared_ptr< Tracks > TracksPtr
Definition:
Tracks.hpp:42
ISM::Heuristic::confidence
double confidence
Definition:
Heuristic.hpp:39
ISM
this namespace contains all generally usable classes.
Definition:
AcceptanceFunction.hpp:22
ISM::Heuristic::clusterId
int32_t clusterId
Definition:
Heuristic.hpp:41
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