IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
KMeansClusteringConfig.h
1 // KMeansClusteringConfig.h:
3 // -------------------------
4 //
14 
15 #ifndef __IPSDKMATH_KMEANSCLUSTERINGCONFIG_H__
16 #define __IPSDKMATH_KMEANSCLUSTERINGCONFIG_H__
17 
20 
21 namespace ipsdk {
22 namespace math {
23 namespace clustering {
24 
27 
29 {
30 public:
36 
37 // methods
38 public:
42  {
43  return 10;
44  }
45 
50  ipUInt32 getNbAttempts() const;
51 
58  void setNbAttempts(const ipUInt32 nbAttempts);
59 
63  {
64  return 100;
65  }
66 
69  ipUInt32 getNbMaxIteration() const;
70 
75  void setNbMaxIteration(const ipUInt32 nbMaxIteration);
76 
77 // attributes
78 protected:
84 
88 };
89 
92 
93 } // end of namespace clustering
94 } // end of namespace math
95 } // end of namespace ipsdk
96 
97 #endif // __IPSDKMATH_KMEANSCLUSTERINGCONFIG_H__
Definition of import/export macro for library.
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
ipUInt32 _nbMaxIteration
Definition: KMeansClusteringConfig.h:87
ipUInt32 _nbAttempts
number of attempts for K-Means algorithm
Definition: KMeansClusteringConfig.h:83
Definition: KMeansClusteringConfig.h:28
#define IPSDKMATH_API
Import/Export macro for library IPSDKMath.
Definition: IPSDKMathExports.h:27
static ipUInt32 getDefaultMaxIteration()
Definition: KMeansClusteringConfig.h:62
Predefined types for clustering algorithm.
static ipUInt32 getDefaultNbAttempts()
Definition: KMeansClusteringConfig.h:41
uint32_t ipUInt32
Base types definition.
Definition: BaseTypes.h:53