Main Page
Namespaces
Classes
Files
File List
File Members
include
inference
model
background
BackgroundInferenceAlgorithm.h
Go to the documentation of this file.
1
18
#pragma once
19
20
// Global includes
21
#include <string>
22
#include <vector>
23
#include <fstream>
24
#include <iostream>
25
26
// Package includes
27
#include <boost/property_tree/ptree.hpp>
28
29
#include <asr_msgs/AsrObject.h>
30
31
#include <visualization/psm/ProbabilisticSceneVisualization.h>
32
33
// Local includes
34
#include "
inference/model/InferenceAlgorithm.h
"
35
36
#include <ISM/common_type/Object.hpp>
37
38
namespace
ProbabilisticSceneRecognition
{
39
46
class
BackgroundInferenceAlgorithm
:
public
InferenceAlgorithm
{
47
public
:
48
52
BackgroundInferenceAlgorithm
();
53
57
~BackgroundInferenceAlgorithm
();
58
64
void
load
(boost::property_tree::ptree& pPt);
65
72
virtual
void
doInference
(std::vector<ISM::Object> pEvidenceList, std::ofstream& pRuntimeLogger) = 0;
73
79
virtual
double
getProbability
() = 0;
80
81
protected
:
82
91
double
calculateProbabilityOfBackgroundSceneObject
(
unsigned
int
pNumberOfEvidence,
unsigned
int
pNumberOfSlots);
92
93
private
:
94
98
unsigned
int
mNumberOfObjectClasses
;
99
103
double
mVolumeOfWorkspace
;
104
105
};
106
}
ProbabilisticSceneRecognition::BackgroundInferenceAlgorithm
Definition:
BackgroundInferenceAlgorithm.h:46
ProbabilisticSceneRecognition::BackgroundInferenceAlgorithm::BackgroundInferenceAlgorithm
BackgroundInferenceAlgorithm()
Definition:
BackgroundInferenceAlgorithm.cpp:22
ProbabilisticSceneRecognition::BackgroundInferenceAlgorithm::load
void load(boost::property_tree::ptree &pPt)
Definition:
BackgroundInferenceAlgorithm.cpp:31
ProbabilisticSceneRecognition::BackgroundInferenceAlgorithm::mVolumeOfWorkspace
double mVolumeOfWorkspace
Definition:
BackgroundInferenceAlgorithm.h:103
ProbabilisticSceneRecognition::InferenceAlgorithm
Definition:
InferenceAlgorithm.h:41
InferenceAlgorithm.h
ProbabilisticSceneRecognition::BackgroundInferenceAlgorithm::doInference
virtual void doInference(std::vector< ISM::Object > pEvidenceList, std::ofstream &pRuntimeLogger)=0
ProbabilisticSceneRecognition::BackgroundInferenceAlgorithm::mNumberOfObjectClasses
unsigned int mNumberOfObjectClasses
Definition:
BackgroundInferenceAlgorithm.h:98
ProbabilisticSceneRecognition
Definition:
MappedProbabilityTable.h:33
ProbabilisticSceneRecognition::BackgroundInferenceAlgorithm::calculateProbabilityOfBackgroundSceneObject
double calculateProbabilityOfBackgroundSceneObject(unsigned int pNumberOfEvidence, unsigned int pNumberOfSlots)
Definition:
BackgroundInferenceAlgorithm.cpp:37
ProbabilisticSceneRecognition::BackgroundInferenceAlgorithm::~BackgroundInferenceAlgorithm
~BackgroundInferenceAlgorithm()
Definition:
BackgroundInferenceAlgorithm.cpp:27
ProbabilisticSceneRecognition::BackgroundInferenceAlgorithm::getProbability
virtual double getProbability()=0
asr_psm
Author(s): Braun Kai, Gehrung Joachim, Heizmann Heinrich, Meißner Pascal
autogenerated on Fri Nov 15 2019 03:57:54