26 #ifndef __TERRALIB_CLASSIFICATION_INTERNAL_DUMMY_H
27 #define __TERRALIB_CLASSIFICATION_INTERNAL_DUMMY_H
30 #include "../common/AbstractParameters.h"
31 #include "../geometry/Coord2D.h"
32 #include "../geometry/Envelope.h"
33 #include "../geometry/Point.h"
34 #include "../geometry/Polygon.h"
35 #include "../raster/Grid.h"
52 template<
class TTRAIN,
class TCLASSIFY>
90 bool train(TTRAIN& itBegin, TTRAIN& itEnd,
91 const std::vector<
unsigned int>& attributesIndices,
92 const std::vector<
unsigned int>& labels,
93 const
bool enableProgressInterface) throw(
te::cl::
Exception);
95 bool classify(TCLASSIFY& itBegin, TCLASSIFY& itEnd,
96 const std::vector<
unsigned int>& attributesIndices,
97 std::vector<
unsigned int>& classification,
98 const
bool enableProgressInterface) throw(
te::cl::
Exception);
109 template <class TTRAIN, class TCLASSIFY>
115 template <
class TTRAIN,
class TCLASSIFY>
120 template <
class TTRAIN,
class TCLASSIFY>
130 template <
class TTRAIN,
class TCLASSIFY>
136 template <
class TTRAIN,
class TCLASSIFY>
143 template <
class TTRAIN,
class TCLASSIFY>
149 template <
class TTRAIN,
class TCLASSIFY>
154 template <
class TTRAIN,
class TCLASSIFY>
163 TE_TR(
"The value of dummy must be at least 2.");
172 template<
class TTRAIN,
class TCLASSIFY>
174 const std::vector<unsigned int>& attributesIndices,
175 const std::vector<unsigned int>& labels,
176 const bool enableProgressInterface)
throw(te::cl::Exception)
181 template<
class TTRAIN,
class TCLASSIFY>
183 const std::vector<unsigned int>& attributesIndices,
184 std::vector<unsigned int>& classification,
185 const bool enableProgressInterface)
throw(te::cl::Exception)
187 TCLASSIFY it = itBegin;
198 #endif // __TERRALIB_CLASSIFICATION_INTERNAL_DUMMY_H