Main Page
+
Namespaces
Namespace List
+
Namespace Members
+
All
c
d
g
m
o
p
r
s
t
x
+
Functions
d
g
m
p
r
s
t
x
Variables
+
Classes
Class List
Class Hierarchy
+
Class Members
+
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
~
+
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
~
+
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
+
Files
File List
+
File Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
y
z
+
Typedefs
a
b
c
d
e
f
h
i
k
l
m
n
o
p
r
s
t
u
v
w
y
+
Macros
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
y
include
helper
ProbabilityTable.h
Go to the documentation of this file.
1
18
#pragma once
19
20
// Global includes
21
#include <map>
22
#include <string>
23
#include <vector>
24
25
// Package includes
26
#include <boost/foreach.hpp>
27
#include <boost/property_tree/ptree.hpp>
28
29
// Local includes
30
#include "
helper/SerializationHelper.h
"
31
32
namespace
ProbabilisticSceneRecognition
{
33
38
class
ProbabilityTable
{
39
public
:
40
44
ProbabilityTable
();
45
52
ProbabilityTable
(
unsigned
int
pRows,
unsigned
int
pColums);
53
59
ProbabilityTable
(boost::property_tree::ptree& pPt);
60
64
~ProbabilityTable
();
65
71
void
load
(boost::property_tree::ptree& pPt);
72
78
void
save
(boost::property_tree::ptree& pPt);
79
87
double
getProbability
(
unsigned
int
pRow,
unsigned
int
pColumn);
88
92
unsigned
int
getNumberOfColumns
();
93
97
unsigned
int
getNumberOfRows
();
98
106
void
add
(
unsigned
int
pRow,
unsigned
int
pColumn,
unsigned
int
pCounts);
107
111
void
normalize
();
112
113
private
:
114
118
std::vector<std::vector<double> >
mEntries
;
119
};
120
}
ProbabilisticSceneRecognition::ProbabilityTable::getNumberOfColumns
unsigned int getNumberOfColumns()
Definition:
ProbabilityTable.cpp:103
ProbabilisticSceneRecognition::ProbabilityTable::load
void load(boost::property_tree::ptree &pPt)
Definition:
ProbabilityTable.cpp:46
ProbabilisticSceneRecognition::ProbabilityTable::mEntries
std::vector< std::vector< double > > mEntries
Definition:
ProbabilityTable.h:118
ProbabilisticSceneRecognition::ProbabilityTable::ProbabilityTable
ProbabilityTable()
Definition:
ProbabilityTable.cpp:22
ProbabilisticSceneRecognition::ProbabilityTable::~ProbabilityTable
~ProbabilityTable()
Definition:
ProbabilityTable.cpp:41
ProbabilisticSceneRecognition::ProbabilityTable
Definition:
ProbabilityTable.h:38
ProbabilisticSceneRecognition::ProbabilityTable::save
void save(boost::property_tree::ptree &pPt)
Definition:
ProbabilityTable.cpp:67
ProbabilisticSceneRecognition::ProbabilityTable::getProbability
double getProbability(unsigned int pRow, unsigned int pColumn)
Definition:
ProbabilityTable.cpp:89
ProbabilisticSceneRecognition
Definition:
MappedProbabilityTable.h:33
ProbabilisticSceneRecognition::ProbabilityTable::normalize
void normalize()
Definition:
ProbabilityTable.cpp:127
SerializationHelper.h
ProbabilisticSceneRecognition::ProbabilityTable::add
void add(unsigned int pRow, unsigned int pColumn, unsigned int pCounts)
Definition:
ProbabilityTable.cpp:113
ProbabilisticSceneRecognition::ProbabilityTable::getNumberOfRows
unsigned int getNumberOfRows()
Definition:
ProbabilityTable.cpp:108
asr_psm
Author(s): Braun Kai, Gehrung Joachim, Heizmann Heinrich, Meißner Pascal
autogenerated on Mon Feb 28 2022 21:50:12