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
35 
36 #include <ISM/common_type/Object.hpp>
37 
39 
47  public:
48 
53 
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 
104 
105  };
106 }
virtual void doInference(std::vector< ISM::Object > pEvidenceList, std::ofstream &pRuntimeLogger)=0
double calculateProbabilityOfBackgroundSceneObject(unsigned int pNumberOfEvidence, unsigned int pNumberOfSlots)


asr_psm
Author(s): Braun Kai, Gehrung Joachim, Heizmann Heinrich, Meißner Pascal
autogenerated on Fri Nov 15 2019 03:57:54