Main Page
Namespaces
Classes
Files
File List
File Members
src
learner
foreground
ocm
combinatorial_optimization
TestSet.cpp
Go to the documentation of this file.
1
18
#include "
learner/foreground/ocm/combinatorial_optimization/TestSet.h
"
19
20
namespace
ProbabilisticSceneRecognition
{
21
22
TestSet::TestSet
(): mObjectSet(new
ISM
::ObjectSet()), mTestedWithFullyMeshed(false)
23
{ }
24
25
TestSet::~TestSet
()
26
{ }
27
28
void
TestSet::setFullyMeshedTestResult
(
double
pFullyMeshedProbability,
double
pFullyMeshedRecognitionRuntime)
29
{
30
mFullyMeshedProbability
= pFullyMeshedProbability;
31
mFullyMeshedRecognitionRuntime
= pFullyMeshedRecognitionRuntime;
32
mTestedWithFullyMeshed
=
true
;
33
}
34
35
double
TestSet::getFullyMeshedProbability
()
const
36
{
37
if
(!
mTestedWithFullyMeshed
)
38
throw
std::runtime_error(
"In TestSet: trying to access fully meshed probability without having tested the set first."
);
39
return
mFullyMeshedProbability
;
40
}
41
42
double
TestSet::getFullyMeshedRecognitionRuntime
()
const
43
{
44
if
(!
mTestedWithFullyMeshed
)
45
throw
std::runtime_error(
"In TestSet: trying to access fully meshed recognition runtime without having tested the set first."
);
46
return
mFullyMeshedRecognitionRuntime
;
47
}
48
49
}
50
ProbabilisticSceneRecognition::TestSet::getFullyMeshedProbability
double getFullyMeshedProbability() const
Definition:
TestSet.cpp:35
ProbabilisticSceneRecognition::TestSet::getFullyMeshedRecognitionRuntime
double getFullyMeshedRecognitionRuntime() const
Definition:
TestSet.cpp:42
ProbabilisticSceneRecognition::TestSet::~TestSet
~TestSet()
Definition:
TestSet.cpp:25
ProbabilisticSceneRecognition::TestSet::setFullyMeshedTestResult
void setFullyMeshedTestResult(double pFullyMeshedProbability, double pFullyMeshedRecognitionRuntime)
Definition:
TestSet.cpp:28
ProbabilisticSceneRecognition::TestSet::mTestedWithFullyMeshed
bool mTestedWithFullyMeshed
Definition:
TestSet.h:80
TestSet.h
ProbabilisticSceneRecognition::TestSet::mFullyMeshedProbability
double mFullyMeshedProbability
Definition:
TestSet.h:69
ProbabilisticSceneRecognition
Definition:
MappedProbabilityTable.h:33
ProbabilisticSceneRecognition::TestSet::TestSet
TestSet()
Definition:
TestSet.cpp:22
ISM
ProbabilisticSceneRecognition::TestSet::mFullyMeshedRecognitionRuntime
double mFullyMeshedRecognitionRuntime
Definition:
TestSet.h:74
asr_psm
Author(s): Braun Kai, Gehrung Joachim, Heizmann Heinrich, Meißner Pascal
autogenerated on Fri Nov 15 2019 04:00:08