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
Machine Learning Toolbox - Documentation