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>
 
  133   m_dummyParameter = 0;
 
  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 
Base exception class for plugin module. 
 
#define TE_TR(message)
It marks a string in order to get translated. 
 
unsigned int m_dummyParameter
A dummy parameter. 
 
Configuration flags for the Terrralib Classification module. 
 
bool classify(TCLASSIFY &itBegin, TCLASSIFY &itEnd, const std::vector< unsigned int > &attributesIndices, std::vector< unsigned int > &classification, const bool enableProgressInterface)
 
bool train(TTRAIN &itBegin, TTRAIN &itEnd, const std::vector< unsigned int > &attributesIndices, const std::vector< unsigned int > &labels, const bool enableProgressInterface)
 
bool m_isInitialized
True if this instance is initialized. 
 
AbstractParameters * clone() const 
Create a clone copy of this instance. 
 
AbstractParameters()
Constructor. 
 
Dummy classifier (just for testing purposes). 
 
Abstract parameters base interface. 
 
bool initialize(const Parameters ¶ms)
 
Parameters m_parameters
Internal execution parameters. 
 
An exception class for the Classification module. 
 
const Parameters & operator=(const Parameters ¶ms)
 
void reset()
Clear all internal allocated resources and reset the parameters instance to its initial state...