SHOGUN
v1.1.0
Main Page
Related Pages
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
src
shogun
preprocessor
SimplePreprocessor.cpp
Go to the documentation of this file.
1
#include <
shogun/preprocessor/SimplePreprocessor.h
>
2
3
namespace
shogun
4
{
5
template
<
class
ST>
6
CSimplePreprocessor<ST>::CSimplePreprocessor
() :
CPreprocessor
()
7
{
8
}
9
10
template
<>
EFeatureType
CSimplePreprocessor<floatmax_t>::get_feature_type
()
11
{
12
return
F_LONGREAL
;
13
}
14
15
template
<>
EFeatureType
CSimplePreprocessor<float64_t>::get_feature_type
()
16
{
17
return
F_DREAL
;
18
}
19
20
template
<>
EFeatureType
CSimplePreprocessor<float32_t>::get_feature_type
()
21
{
22
return
F_SHORTREAL
;
23
}
24
25
template
<>
EFeatureType
CSimplePreprocessor<int16_t>::get_feature_type
()
26
{
27
return
F_SHORT
;
28
}
29
30
template
<>
EFeatureType
CSimplePreprocessor<uint16_t>::get_feature_type
()
31
{
32
return
F_WORD
;
33
}
34
35
template
<>
EFeatureType
CSimplePreprocessor<char>::get_feature_type
()
36
{
37
return
F_CHAR
;
38
}
39
40
template
<>
EFeatureType
CSimplePreprocessor<int8_t>::get_feature_type
()
41
{
42
return
F_CHAR
;
43
}
44
45
template
<>
EFeatureType
CSimplePreprocessor<uint8_t>::get_feature_type
()
46
{
47
return
F_BYTE
;
48
}
49
50
template
<>
EFeatureType
CSimplePreprocessor<int32_t>::get_feature_type
()
51
{
52
return
F_INT
;
53
}
54
55
template
<>
EFeatureType
CSimplePreprocessor<uint32_t>::get_feature_type
()
56
{
57
return
F_UINT
;
58
}
59
60
61
template
<>
EFeatureType
CSimplePreprocessor<int64_t>::get_feature_type
()
62
{
63
return
F_LONG
;
64
}
65
66
template
<>
EFeatureType
CSimplePreprocessor<uint64_t>::get_feature_type
()
67
{
68
return
F_ULONG
;
69
}
70
71
template
<>
EFeatureType
CSimplePreprocessor<bool>::get_feature_type
()
72
{
73
return
F_BOOL
;
74
}
75
76
template
<
class
ST>
77
EFeatureClass
CSimplePreprocessor<ST>::get_feature_class
()
78
{
79
return
C_SIMPLE
;
80
}
81
82
template
<
class
ST>
83
EPreprocessorType
CSimplePreprocessor<ST>::get_type
()
const
84
{
85
return
P_UNKNOWN
;
86
}
87
88
template
class
CSimplePreprocessor<bool>
;
89
template
class
CSimplePreprocessor<char>
;
90
template
class
CSimplePreprocessor<int8_t>
;
91
template
class
CSimplePreprocessor<uint8_t>
;
92
template
class
CSimplePreprocessor<int16_t>
;
93
template
class
CSimplePreprocessor<uint16_t>
;
94
template
class
CSimplePreprocessor<int32_t>
;
95
template
class
CSimplePreprocessor<uint32_t>
;
96
template
class
CSimplePreprocessor<int64_t>
;
97
template
class
CSimplePreprocessor<uint64_t>
;
98
template
class
CSimplePreprocessor<float32_t>
;
99
template
class
CSimplePreprocessor<float64_t>
;
100
template
class
CSimplePreprocessor<floatmax_t>
;
101
}
shogun::C_SIMPLE
Definition:
FeatureTypes.h:38
shogun::F_ULONG
Definition:
FeatureTypes.h:27
shogun::F_UINT
Definition:
FeatureTypes.h:25
shogun::F_BOOL
Definition:
FeatureTypes.h:19
shogun::EPreprocessorType
EPreprocessorType
Definition:
Preprocessor.h:30
shogun::F_SHORT
Definition:
FeatureTypes.h:22
shogun::CSimplePreprocessor::get_feature_type
virtual EFeatureType get_feature_type()
return feature type
SimplePreprocessor.h
shogun::CSimplePreprocessor::CSimplePreprocessor
CSimplePreprocessor()
Definition:
SimplePreprocessor.cpp:6
shogun::EFeatureClass
EFeatureClass
shogun feature class
Definition:
FeatureTypes.h:35
shogun::F_SHORTREAL
Definition:
FeatureTypes.h:28
shogun::F_DREAL
Definition:
FeatureTypes.h:29
shogun::F_CHAR
Definition:
FeatureTypes.h:20
shogun::F_LONG
Definition:
FeatureTypes.h:26
shogun::P_UNKNOWN
Definition:
Preprocessor.h:32
shogun::EFeatureType
EFeatureType
shogun feature type
Definition:
FeatureTypes.h:16
shogun::F_BYTE
Definition:
FeatureTypes.h:21
shogun::F_WORD
Definition:
FeatureTypes.h:23
shogun::F_LONGREAL
Definition:
FeatureTypes.h:30
shogun::CPreprocessor
Class Preprocessor defines a preprocessor interface.
Definition:
Preprocessor.h:74
shogun::F_INT
Definition:
FeatureTypes.h:24
shogun::CSimplePreprocessor
Template class SimplePreprocessor, base class for preprocessors (cf. CPreprocessor) that apply to CSi...
Definition:
SimplePreprocessor.h:31
SHOGUN
Machine Learning Toolbox - Documentation