21 #ifndef otbSamplingRateCalculatorList_h
22 #define otbSamplingRateCalculatorList_h
26 #include "OTBSamplingExport.h"
67 void SetNthClassCount(
unsigned int index,
const ClassCountMapType& map);
70 const MapRateType& GetRatesByClass(
unsigned int index);
73 void ClearRates(
void);
76 void SetAllSamples(PartitionType t);
80 void SetMinimumNbOfSamplesByClass(PartitionType t);
83 void SetNbOfSamplesAllClasses(std::vector<unsigned long>& nb, PartitionType t);
86 void SetNbOfSamplesByClass(
const std::vector<ClassCountMapType>& required, PartitionType t);
90 void SetPercentageOfSamples(std::vector<double>& p, PartitionType t);
94 void SetTotalNumberOfSamples(std::vector<unsigned long>& tot, PartitionType t);
109 void operator=(
const Self&) =
delete;
111 void UpdateGlobalCounts();