24 #ifndef _STATISTIC_TOOLS_H
25 #define _STATISTIC_TOOLS_H
41 #define GET_TYPE_ANALYSATION(type) getAnalysation<type,defaultZero,defaultLower<type>,defaultHigher<type>,defaultDoubleDiv<type>,defaultDoubleMul<type>,defaultAdd<type>,defaultSub<type>,defaultMul<type>,defaultDiv<type> >
42 #define GET_DOUBLE_ANALYSATION GET_TYPE_ANALYSATION(double)
65 virtual double&
addMeasure(
double& observedValue,
const char* measureName,
MeasureMode mode,
long stepSpan,
double additionalParam=0);
91 virtual double&
addMeasureList(std::list<AbstractMeasure*> measureList);
101 virtual double&
addMeasureList(std::list<ComplexMeasure*> measureList);
111 virtual double&
addMeasureList(std::list<StatisticMeasure*> measureList);
154 bool lower(
const type&,
const type&),
155 bool higher(
const type&,
const type&),
156 type doubleDiv(
const type&,
const double&),
157 type doubleMul(
const type&,
const double&),
158 type add(
const type&,
const type&),
159 type sub(
const type&,
const type&),
160 type mul(
const type&,
const type&),
161 type div(
const type&,
const type&)>
177 bool lower(
const type&,
const type&),
178 bool higher(
const type&,
const type&),
179 type doubleDiv(
const type&,
const double&),
180 type doubleMul(
const type&,
const double&),
181 type add(
const type&,
const type&),
182 type sub(
const type&,
const type&),
183 type mul(
const type&,
const type&),
184 type div(
const type&,
const type&)>
188 return tvAnalysation->getAvg();
190 return tvAnalysation->getMin();
192 return tvAnalysation->getMax();
194 return tvAnalysation->getRange();
196 return tvAnalysation->getIQR();
198 return tvAnalysation->getMedian();
200 return tvAnalysation->getWhisker(1.5);
202 return tvAnalysation->getQuartil1();
204 return tvAnalysation->getQuartil3();
206 return tvAnalysation->getWhisker1(1.5);
208 return tvAnalysation->getWhisker3(1.5);
210 return (type)tvAnalysation->getNumExtrems(1.5);
212 return tvAnalysation->getExtrem(1.5,feature);
214 return tvAnalysation->getBest();
231 bool lower(
const type&,
const type&),
232 bool higher(
const type&,
const type&),
233 type doubleDiv(
const type&,
const double&),
234 type doubleMul(
const type&,
const double&),
235 type add(
const type&,
const type&),
236 type sub(
const type&,
const type&),
237 type mul(
const type&,
const type&),
238 type div(
const type&,
const type&)>
Definition: complexmeasure.h:47
returns the count of extreme values
Definition: analysationmodes.h:61
Interface class for a class which wants to be callback on a certain action.
Definition: callbackable.h:39
MeasureMode
usage of the statistictools with different measure modes (examples):
Definition: measuremodes.h:53
returns the quartile Q_(3/4) value
Definition: analysationmodes.h:51
returns the quartile Q_(1/4) value
Definition: analysationmodes.h:49
returns the best value
Definition: analysationmodes.h:65
returns the whisker1 value
Definition: analysationmodes.h:55
returns the minimum value
Definition: analysationmodes.h:43
iparamkey name
Definition: inspectable.h:251
Class used by StatisticTools.
Definition: statisticmeasure.h:34
returns the average value
Definition: analysationmodes.h:39
returns the inter quartile range (IQR) value
Definition: analysationmodes.h:59
static const CallbackableType DEFAULT_CALLBACKABLE_TYPE
This is the default Callbackable type.
Definition: backcaller.h:51
returns the range of the values
Definition: analysationmodes.h:47
unsigned long CallbackableType
Definition: backcaller.h:45
Interface for inspectable objects.
Definition: inspectable.h:48
returns the median value
Definition: analysationmodes.h:41
returns the maximum value
Definition: analysationmodes.h:45
#define ANALYSATION_CONTEXT
Definition: templatevalueanalysation.h:29
returns the whisker3 value
Definition: analysationmodes.h:57
Class prototype which provides functions to handle callbackable classes.
Definition: backcaller.h:42
returns the whisker (1.5*IQR) value
Definition: analysationmodes.h:53
returns the special extreme value
Definition: analysationmodes.h:63
Class used by StatisticTools.
Definition: abstractmeasure.h:38
AnalysationMode
usage of the statistictools with different analysation modes modes (examples):
Definition: analysationmodes.h:37