24 #ifndef DISCRETISIZER_H
25 #define DISCRETISIZER_H
virtual void findMinAndMaxValues(double value)
is used for mapToInterval, sets min and max values.
Definition: discretisizer.cpp:79
virtual int roundValue(double valueToRound)
Definition: discretisizer.cpp:113
Discretisizer(int numberBins)
call this constructor if you don't like to decide which range for the values are used, therefore the range ist found automatically.
Definition: discretisizer.cpp:28
virtual ~Discretisizer()
Definition: discretisizer.cpp:40
double minRange
Definition: discretisizer.h:103
virtual double getMinRange()
Definition: discretisizer.cpp:56
virtual int discretisizeValue(double valueToDiscretisize)
is used for discretisizing values
Definition: discretisizer.cpp:92
double maxRange
Definition: discretisizer.h:104
int numberBins
Definition: discretisizer.h:101
bool automaticRange
Definition: discretisizer.h:102
virtual double getMaxRange()
Definition: discretisizer.cpp:60
bool firstStep
Definition: discretisizer.h:108
virtual int getBinNumber(double value)
returns the given value as an discretisized integer.
Definition: discretisizer.cpp:42
double maxValue
Definition: discretisizer.h:106
Use this class to get discrete values.
Definition: discretisizer.h:43
bool mapToInterval
Definition: discretisizer.h:107
virtual void findMinAndMaxRange(double value)
is used for automaticRange, sets min and max range.
Definition: discretisizer.cpp:65
double minValue
Definition: discretisizer.h:105