IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
AdaptiveGridPartition.h
1 // AdaptiveGridPartition.h:
3 // ------------------------
4 //
15 
16 #ifndef __IPSDKMATH_ADAPTIVEGRIDPARTITION_H__
17 #define __IPSDKMATH_ADAPTIVEGRIDPARTITION_H__
18 
19 // suppression warnings
20 // warning C4251: 'ipsdk::math::AdaptiveGridPartition::_bucketHistogram': class 'std::map<ipsdk::ipReal64,ipsdk::math::AdaptiveGridPartition::DataIds,std::less<_Kty>,std::allocator<std::pair<const _Kty,_Ty>>>' needs to have dll-interface to be used by clients of class 'ipsdk::math::AdaptiveGridPartition'
21 #pragma warning (push)
22 #pragma warning (disable : 4251)
23 
24 #include <IPSDKMath/Estimation/DataPartition/BaseGridPartition.h>
25 
26 namespace ipsdk {
27 namespace math {
28 
31 
33 {
34  // declare serial class
36 
37 // predefined public types
38 public:
40  static const eDataPartitionType::domain g_dataPartitionType = eDataPartitionType::eDPT_Regular;
41 
42 public:
48 
49 // methods
50 public:
52  eDataPartitionType getDataPartitionType() const;
53 
54 protected:
57  BoolResult populateBuckets(const DataSet& fullDataSet,
58  BucketPopulation& bucketPopulation);
59 
60 // attributes
61 protected:
62 
63 };
64 
67 
68 inline eDataPartitionType
70 {
71  return g_dataPartitionType;
72 }
73 
76 
77 } // end of namespace math
78 } // end of namespace ipsdk
79 
80 #endif // __IPSDKMATH_ADAPTIVEGRIDPARTITION_H__
static const eDataPartitionType::domain g_dataPartitionType
data partition type
Definition: AdaptiveGridPartition.h:40
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
eDataPartitionType getDataPartitionType() const
retrieve type associated to data partition
Definition: AdaptiveGridPartition.h:69
std::vector< DataType > DataSet
collection of data associated to estimation
Definition: EstimationTypes.h:67
Class allowing to create an adaptive partition of data.
Definition: AdaptiveGridPartition.h:32
Regular partition type (each axis is divide with constant bucket size)
Definition: DataPartitionTypes.h:35
#define IPSDKMATH_API
Import/Export macro for library IPSDKMath.
Definition: IPSDKMathExports.h:27
Base class for object allowing to create data partition based on grid.
Definition: BaseGridPartition.h:34
#define IPSDK_DECLARE_SERIAL_WITHOUT_COPY(libraryName, className)
macro enabling serialization on class
Definition: SerializationHdrMacro.h:79
std::map< BucketId, DataIdColl > BucketPopulation
map associating a bucket if to a collection of data ids
Definition: BaseGridPartition.h:78
eDataPartitionType
data partition type
Definition: DataPartitionTypes.h:33