Main Page
Namespaces
Classes
Files
File List
File Members
libism
ISM
combinatorial_trainer
ObjectSetValidator.hpp
Go to the documentation of this file.
1
18
#pragma once
19
20
#include "
recognizer/Recognizer.hpp
"
21
#include "
common_type/ObjectSet.hpp
"
22
#include <boost/shared_ptr.hpp>
23
#include "
ImplicitShapeModel.hpp
"
24
25
26
namespace
ISM
{
27
28
class
ObjectSetValidator
29
{
30
public
:
31
ObjectSetValidator
(
ISM::RecognizerPtr
& recognizer,
double
confidenceThreshold)
32
:
mRecognizer
(recognizer)
33
,
mConfidenceThreshold
(confidenceThreshold)
34
{}
35
36
std::pair<bool, double>
isSetValid
(
const
ObjectSetPtr
&testSet,
const
std::string &
patternName
);
37
void
setISM
(
const
IsmPtr
ism);
38
39
private
:
40
ISM::RecognizerPtr
mRecognizer
;
41
double
mConfidenceThreshold
;
42
43
};
typedef
boost::shared_ptr<ObjectSetValidator>
ObjectSetValidatorPtr
;
44
45
}
46
ISM::ObjectSetValidator::mRecognizer
ISM::RecognizerPtr mRecognizer
Definition:
ObjectSetValidator.hpp:40
ISM::ObjectSetValidator::mConfidenceThreshold
double mConfidenceThreshold
Definition:
ObjectSetValidator.hpp:41
ISM::RecognizerPtr
boost::shared_ptr< Recognizer > RecognizerPtr
Definition:
Recognizer.hpp:171
ISM::ObjectSetValidator
Definition:
ObjectSetValidator.hpp:28
patternName
std::string patternName
Definition:
randomTestRunner.cpp:90
Recognizer.hpp
ISM::ObjectSetValidatorPtr
boost::shared_ptr< ObjectSetValidator > ObjectSetValidatorPtr
Definition:
ObjectSetValidator.hpp:43
ImplicitShapeModel.hpp
ISM::IsmPtr
boost::shared_ptr< ImplicitShapeModel > IsmPtr
Definition:
ImplicitShapeModel.hpp:89
ISM::ObjectSetValidator::isSetValid
std::pair< bool, double > isSetValid(const ObjectSetPtr &testSet, const std::string &patternName)
Definition:
ObjectSetValidator.cpp:28
ISM::ObjectSetPtr
boost::shared_ptr< ObjectSet > ObjectSetPtr
Definition:
ObjectSet.hpp:53
ISM::ObjectSetValidator::ObjectSetValidator
ObjectSetValidator(ISM::RecognizerPtr &recognizer, double confidenceThreshold)
Definition:
ObjectSetValidator.hpp:31
ISM
this namespace contains all generally usable classes.
Definition:
AcceptanceFunction.hpp:22
ISM::ObjectSetValidator::setISM
void setISM(const IsmPtr ism)
Definition:
ObjectSetValidator.cpp:55
ObjectSet.hpp
asr_lib_ism
Author(s): Hanselmann Fabian, Heller Florian, Heizmann Heinrich, Kübler Marcel, Mehlhaus Jonas, Meißner Pascal, Qattan Mohamad, Reckling Reno, Stroh Daniel
autogenerated on Wed Jan 8 2020 04:02:40