Main Page
Namespaces
Classes
Files
File List
File Members
include
inference
model
foreground
ForegroundInferenceAlgorithm.h
Go to the documentation of this file.
1
18
#pragma once
19
20
// Global includes
21
#include <string>
22
#include <vector>
23
24
// Package includes
25
#include <boost/property_tree/ptree.hpp>
26
27
#include <asr_msgs/AsrObject.h>
28
29
#include <visualization/psm/ProbabilisticSceneVisualization.h>
30
31
// Local includes
32
#include "
inference/model/InferenceAlgorithm.h
"
33
34
#include "
inference/model/foreground/SceneObjectDescription.h
"
35
36
#include <ISM/common_type/Object.hpp>
37
38
namespace
ProbabilisticSceneRecognition
{
39
46
class
ForegroundInferenceAlgorithm
:
public
InferenceAlgorithm
{
47
public
:
48
54
ForegroundInferenceAlgorithm
(
boost::shared_ptr
<std::vector<
boost::shared_ptr<SceneObjectDescription>
> >& pSceneObjects);
55
59
~ForegroundInferenceAlgorithm
();
60
66
void
load
(boost::property_tree::ptree& pPt);
67
74
virtual
void
doInference
(std::vector<ISM::Object> pEvidenceList, std::ofstream& pRuntimeLogger) = 0;
75
81
virtual
double
getProbability
() = 0;
82
83
protected
:
84
88
boost::shared_ptr<std::vector<boost::shared_ptr<SceneObjectDescription>
> >
mSceneObjects
;
89
90
};
91
}
ProbabilisticSceneRecognition::ForegroundInferenceAlgorithm
Definition:
ForegroundInferenceAlgorithm.h:46
SceneObjectDescription.h
ProbabilisticSceneRecognition::InferenceAlgorithm
Definition:
InferenceAlgorithm.h:41
boost::shared_ptr
InferenceAlgorithm.h
ProbabilisticSceneRecognition::ForegroundInferenceAlgorithm::doInference
virtual void doInference(std::vector< ISM::Object > pEvidenceList, std::ofstream &pRuntimeLogger)=0
ProbabilisticSceneRecognition::ForegroundInferenceAlgorithm::~ForegroundInferenceAlgorithm
~ForegroundInferenceAlgorithm()
Definition:
ForegroundInferenceAlgorithm.cpp:28
ProbabilisticSceneRecognition::ForegroundInferenceAlgorithm::getProbability
virtual double getProbability()=0
ProbabilisticSceneRecognition::ForegroundInferenceAlgorithm::ForegroundInferenceAlgorithm
ForegroundInferenceAlgorithm(boost::shared_ptr< std::vector< boost::shared_ptr< SceneObjectDescription > > > &pSceneObjects)
Definition:
ForegroundInferenceAlgorithm.cpp:22
ProbabilisticSceneRecognition
Definition:
MappedProbabilityTable.h:33
ProbabilisticSceneRecognition::ForegroundInferenceAlgorithm::load
void load(boost::property_tree::ptree &pPt)
Definition:
ForegroundInferenceAlgorithm.cpp:32
ProbabilisticSceneRecognition::ForegroundInferenceAlgorithm::mSceneObjects
boost::shared_ptr< std::vector< boost::shared_ptr< SceneObjectDescription > > > mSceneObjects
Definition:
ForegroundInferenceAlgorithm.h:88
asr_psm
Author(s): Braun Kai, Gehrung Joachim, Heizmann Heinrich, Meißner Pascal
autogenerated on Fri Nov 15 2019 03:57:54