24 #ifndef _COMPLEX_MEASURE_H
25 #define _COMPLEX_MEASURE_H
74 virtual void addObservable(
double& observedValue,
double minValue,
double maxValue );
Definition: complexmeasure.h:47
int * historyIndexList
Definition: complexmeasure.h:95
returns the entropy of the value, uses normal formula, needs O(n) or O(m*n)
Definition: complexmeasure.h:38
int historyInterval
Definition: complexmeasure.h:97
matrix::SparseArray< long, int > F
Definition: complexmeasure.h:100
ComplexMeasureMode mode
Definition: complexmeasure.h:88
virtual ~ComplexMeasure()
Definition: complexmeasure.cpp:43
int * binNumberHistory
Definition: complexmeasure.h:93
int historyIndex
Definition: complexmeasure.h:94
void initF()
inits F, neccessary after each call of addObservable()
Definition: complexmeasure.cpp:186
returns the mutual information of two values, uses update formula, needs O(1)
Definition: complexmeasure.h:40
returns the entropy of the value, uses update formula, needs O(1)
Definition: complexmeasure.h:36
ComplexMeasure(const char *measureName, ComplexMeasureMode mode, int numberBins)
creates a new complex measure.
Definition: complexmeasure.cpp:35
void computeEntropy()
computes the entropy.
Definition: complexmeasure.cpp:171
int historyIndexNumber
Definition: complexmeasure.h:96
int historySize
Definition: complexmeasure.h:91
long fSize
Definition: complexmeasure.h:90
ComplexMeasureMode
measure modes of complex measures.
Definition: complexmeasure.h:34
int numberBins
Definition: complexmeasure.h:89
std::list< double * > observedValueList
Definition: complexmeasure.h:86
returns the predictive information of two or more values
Definition: complexmeasure.h:42
Use this class to get discrete values.
Definition: discretisizer.h:43
void updateEntropy(int binNumber)
updates the entropy.
Definition: complexmeasure.cpp:153
void calculatePInf()
calculates the Predictive Information
Definition: complexmeasure.cpp:130
virtual void addObservable(double &observedValue, double minValue, double maxValue)
adds a observed variable to the measure.
Definition: complexmeasure.cpp:144
std::list< Discretisizer * > discretisizerList
Definition: complexmeasure.h:87
virtual void step()
defined by AbstractMeasure.
Definition: complexmeasure.cpp:57
Class used by StatisticTools.
Definition: abstractmeasure.h:38