IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
RegularGridPartition.h
1 // RegularGridPartition.h:
3 // -----------------------
4 //
15 
16 #ifndef __IPSDKMATH_REGULARGRIDPARTITION_H__
17 #define __IPSDKMATH_REGULARGRIDPARTITION_H__
18 
19 #include <IPSDKMath/Estimation/DataPartition/BaseGridPartition.h>
20 
21 namespace ipsdk {
22 namespace math {
23 
26 
28 {
29  // declare serial class
31 
32 // predefined public types
33 public:
35  static const eDataPartitionType::domain g_dataPartitionType = eDataPartitionType::eDPT_Regular;
36 
37 public:
43 
44 // methods
45 public:
47  eDataPartitionType getDataPartitionType() const;
48 
49 protected:
52  BoolResult populateBuckets(const DataSet& fullDataSet,
53  BucketPopulation& bucketPopulation);
54 
55 // attributes
56 protected:
57 
58 };
59 
62 
63 inline eDataPartitionType
65 {
66  return g_dataPartitionType;
67 }
68 
71 
72 } // end of namespace math
73 } // end of namespace ipsdk
74 
75 #endif // __IPSDKMATH_REGULARGRIDPARTITION_H__
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
Class allowing to create a regular grid where each axis is divide into _nbBucketsByAxis sub range...
Definition: RegularGridPartition.h:27
std::vector< DataType > DataSet
collection of data associated to estimation
Definition: EstimationTypes.h:67
Regular partition type (each axis is divide with constant bucket size)
Definition: DataPartitionTypes.h:35
static const eDataPartitionType::domain g_dataPartitionType
data partition type
Definition: RegularGridPartition.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 getDataPartitionType() const
retrieve type associated to data partition
Definition: RegularGridPartition.h:64
eDataPartitionType
data partition type
Definition: DataPartitionTypes.h:33