Visual Servoing Platform
version 3.6.1 under development (2024-11-15)
|
#include <visp3/core/vpStatisticalTestHinkley.h>
Public Types | |
enum | vpMeanDriftType { MEAN_DRIFT_NONE = 0 , MEAN_DRIFT_DOWNWARD = 1 , MEAN_DRIFT_UPWARD = 2 , MEAN_DRIFT_BOTH = 3 , MEAN_DRIFT_COUNT = 4 , MEAN_DRIFT_UNKNOWN = MEAN_DRIFT_COUNT } |
typedef enum vpStatisticalTestAbstract::vpMeanDriftType | vpMeanDriftType |
Public Member Functions | |
vpStatisticalTestHinkley () | |
vpStatisticalTestHinkley (const float &alpha, const float &delta, const unsigned int &nbSamplesForInit=30) | |
vpStatisticalTestHinkley (const float &h, const float &k, const bool &computeAlphaDeltaFromStdev, const unsigned int &nbSamplesForInit=30) | |
vpStatisticalTestHinkley (const float &h, const float &k, const float &mean, const float &stdev) | |
virtual | ~vpStatisticalTestHinkley () |
float | getAlpha () const |
float | getSk () const |
float | getMk () const |
float | getTk () const |
float | getNk () const |
void | init () |
void | init (const float &alpha, const float &delta, const unsigned int &nbSamplesForInit) |
void | init (const float &h, const float &k, const bool &computeAlphaDeltaFromStdev, const unsigned int &nbSamplesForInit) |
void | init (const float &alpha, const float &delta, const float &mean) |
void | init (const float &h, const float &k, const float &mean, const float &stdev) |
void | setDelta (const float &delta) |
void | setAlpha (const float &alpha) |
void | getLimits (float &limitDown, float &limitUp) const |
float | getMean () const |
float | getStdev () const |
void | setMinStdev (const float &stdevmin) |
void | setNbSamplesForStat (const unsigned int &nbSamples) |
vpMeanDriftType | testDownUpwardMeanDrift (const float &signal) |
vpMeanDriftType | testDownwardMeanDrift (const float &signal) |
vpMeanDriftType | testUpwardMeanDrift (const float &signal) |
Static Public Member Functions | |
static std::string | vpMeanDriftTypeToString (const vpMeanDriftType &type) |
static vpMeanDriftType | vpMeanDriftTypeFromString (const std::string &name) |
static std::string | getAvailableMeanDriftType (const std::string &prefix="<", const std::string &sep=" , ", const std::string &suffix=">") |
static void | print (const vpMeanDriftType &type) |
Protected Member Functions | |
virtual void | computeAlphaDelta () |
void | computeMean (double signal) |
void | computeSk (double signal) |
void | computeMk () |
void | computeTk (double signal) |
void | computeNk () |
virtual vpMeanDriftType | detectDownwardMeanDrift () override |
virtual vpMeanDriftType | detectUpwardMeanDrift () override |
virtual bool | updateStatistics (const float &signal) override |
virtual void | updateTestSignals (const float &signal) override |
Protected Attributes | |
float | m_dmin2 |
float | m_alpha |
float | m_Sk |
float | m_Mk |
float | m_Tk |
float | m_Nk |
bool | m_computeDeltaAndAlpha |
float | m_h |
float | m_k |
bool | m_areStatisticsComputed |
float | m_count |
float | m_limitDown |
float | m_limitUp |
float | m_mean |
unsigned int | m_nbSamplesForStatistics |
float * | m_s |
float | m_stdev |
float | m_stdevmin |
float | m_sumForMean |
This class implements the Hinkley's cumulative sum test.
The Hinkley's cumulative sum test is designed to detect drift in the mean of an observed signal . It is known to be robust (by taking into account all the past of the observed quantity), efficient, and inducing a very low computational load. The other attractive features of this test are two-fold. First, it can straightforwardly and accurately provide the drift instant. Secondly, due to its formulation (cumulative sum test), it can simultaneously handle both very abrupt and important changes, and gradual smaller ones without adapting the involved thresholds.
Two tests are performed in parallel to look for downwards or upwards drifts in , respectively defined by:
In which is computed on-line and corresponds to the mean of the signal we want to detect a drift. is re-initialized at zero after each drift detection. denotes the drift minimal magnitude that we want to detect and is a predefined threshold. These values are set by default to 0.2 in the default constructor vpHinkley(). To modify the default values use setAlpha() and setDelta() or the vpHinkley(double alpha, double delta) constructor.
A downward drift is detected if . A upward drift is detected if .
To detect only downward drifts in use testDownwardMeanDrift().To detect only upward drifts in use testUpwardMeanDrift(). To detect both, downward and upward drifts use testDownUpwardMeanDrift().
If a drift is detected, the drift location is given by the last instant when , or .
Definition at line 88 of file vpStatisticalTestHinkley.h.
|
inherited |
Enum that indicates if a drift of the mean occurred.
|
inherited |
Enum that indicates if a drift of the mean occurred.
Definition at line 63 of file vpStatisticalTestAbstract.h.
BEGIN_VISP_NAMESPACE vpStatisticalTestHinkley::vpStatisticalTestHinkley | ( | ) |
Construct a new vpStatisticalTestHinkley object. Call init() to initialise the Hinkley's test and set and to default values.
By default and . Use setDelta() and setAlpha() to modify these values.
Definition at line 49 of file vpStatisticalTestHinkley.cpp.
References init().
vpStatisticalTestHinkley::vpStatisticalTestHinkley | ( | const float & | alpha, |
const float & | delta, | ||
const unsigned int & | nbSamplesForInit = 30 |
||
) |
Call init() to initialise the Hinkley's test and set and thresholds.
[in] | alpha | : threshold indicating that a mean drift occurs. |
[in] | delta | : denotes the drift minimal magnitude that we want to detect. |
[in] | nbSamplesForInit | : number of signal samples to initialize the mean of the signal. |
Definition at line 64 of file vpStatisticalTestHinkley.cpp.
References init().
vpStatisticalTestHinkley::vpStatisticalTestHinkley | ( | const float & | h, |
const float & | k, | ||
const bool & | computeAlphaDeltaFromStdev, | ||
const unsigned int & | nbSamplesForInit = 30 |
||
) |
Construct a new vpStatisticalTestHinkley object. and will be computed from the standard deviation of the signal.
[in] | h | : the alarm factor that permits to compute from the standard deviation. |
[in] | k | : the detection factor that permits to compute from the standard deviation. |
[in] | computeAlphaDeltaFromStdev | : must be equal to true, otherwise throw a vpException. |
[in] | nbSamplesForInit | : number of signal samples to initialize the mean of the signal. |
Definition at line 79 of file vpStatisticalTestHinkley.cpp.
References init().
vpStatisticalTestHinkley::vpStatisticalTestHinkley | ( | const float & | h, |
const float & | k, | ||
const float & | mean, | ||
const float & | stdev | ||
) |
Construct a new vpStatisticalTestHinkley object. and will be computed from the standard deviation of the signal.
[in] | h | : the alarm factor that permits to compute from the standard deviation. |
[in] | k | : the detection factor that permits to compute from the standard deviation. |
[in] | mean | : the expected mean of the signal. |
[in] | stdev | : the expected standard deviation of the signal. |
Definition at line 85 of file vpStatisticalTestHinkley.cpp.
References init().
|
virtual |
Destroy the vpStatisticalTestHinkley object.
Definition at line 149 of file vpStatisticalTestHinkley.cpp.
|
protectedvirtual |
Compute and from the standard deviation of the signal.
Definition at line 160 of file vpStatisticalTestHinkley.cpp.
References m_h, m_k, vpStatisticalTestAbstract::m_stdev, setAlpha(), and setDelta().
Referenced by init(), and updateStatistics().
|
protected |
Compute the mean value of the signal. The mean value must be computed before the mean drift is estimated on-line.
[in] | signal | The new value of the signal to monitor. |
Definition at line 168 of file vpStatisticalTestHinkley.cpp.
References vpStatisticalTestAbstract::m_count, vpStatisticalTestAbstract::m_mean, m_Mk, m_Nk, m_Sk, m_Tk, and vpMath::maximum().
Referenced by updateTestSignals().
|
protected |
Compute , the maximum value of .
Definition at line 186 of file vpStatisticalTestHinkley.cpp.
Referenced by updateTestSignals().
|
protected |
Compute , the minimum value of .
Definition at line 198 of file vpStatisticalTestHinkley.cpp.
Referenced by updateTestSignals().
|
protected |
Compute .
[in] | signal | The new value of the signal to monitor. |
Definition at line 181 of file vpStatisticalTestHinkley.cpp.
References m_dmin2, vpStatisticalTestAbstract::m_mean, and m_Sk.
Referenced by updateTestSignals().
|
protected |
Compute .
[in] | signal | The new value of the signal to monitor. |
Definition at line 193 of file vpStatisticalTestHinkley.cpp.
References m_dmin2, vpStatisticalTestAbstract::m_mean, and m_Tk.
Referenced by updateTestSignals().
|
overrideprotectedvirtual |
Detects if a downward mean drift occurred.
Implements vpStatisticalTestAbstract.
Definition at line 205 of file vpStatisticalTestHinkley.cpp.
References m_alpha, m_Mk, m_Sk, vpStatisticalTestAbstract::MEAN_DRIFT_DOWNWARD, and vpStatisticalTestAbstract::MEAN_DRIFT_NONE.
|
overrideprotectedvirtual |
Detects if an upward mean drift occurred on the mean.
Implements vpStatisticalTestAbstract.
Definition at line 214 of file vpStatisticalTestHinkley.cpp.
References m_alpha, m_Nk, m_Tk, vpStatisticalTestAbstract::MEAN_DRIFT_NONE, and vpStatisticalTestAbstract::MEAN_DRIFT_UPWARD.
|
inline |
Get the threshold indicating that a mean drift occurs.
Definition at line 240 of file vpStatisticalTestHinkley.h.
|
staticinherited |
Get the list of available vpMeanDriftType objects that are handled.
[in] | prefix | The prefix that should be placed before the list. |
[in] | sep | The separator between each element of the list. |
[in] | suffix | The suffix that should terminate the list. |
Definition at line 82 of file vpStatisticalTestAbstract.cpp.
References vpStatisticalTestAbstract::MEAN_DRIFT_COUNT, and vpStatisticalTestAbstract::vpMeanDriftTypeToString().
|
inlineinherited |
Get the upper and lower limits of the test signal.
[out] | limitDown | The lower limit. |
[out] | limitUp | The upper limit. |
Definition at line 175 of file vpStatisticalTestAbstract.h.
|
inlineinherited |
Get the mean used as reference.
Definition at line 186 of file vpStatisticalTestAbstract.h.
|
inline |
Get the maximum of the test signal for downward mean drift .
Definition at line 254 of file vpStatisticalTestHinkley.h.
|
inline |
Get the minimum of the test signal for upward mean drift .
Definition at line 269 of file vpStatisticalTestHinkley.h.
|
inline |
Get the test signal for downward mean drift.
Definition at line 247 of file vpStatisticalTestHinkley.h.
|
inlineinherited |
Get the standard deviation used as reference.
Definition at line 196 of file vpStatisticalTestAbstract.h.
|
inline |
Get the test signal for upward mean drift..
Definition at line 262 of file vpStatisticalTestHinkley.h.
void vpStatisticalTestHinkley::init | ( | ) |
Initialise the Hinkley's test by setting the mean signal value to zero as well as .
Definition at line 91 of file vpStatisticalTestHinkley.cpp.
References vpStatisticalTestAbstract::init(), m_alpha, m_computeDeltaAndAlpha, m_Mk, m_Nk, m_Sk, m_Tk, setAlpha(), and vpStatisticalTestAbstract::setNbSamplesForStat().
Referenced by init(), and vpStatisticalTestHinkley().
void vpStatisticalTestHinkley::init | ( | const float & | alpha, |
const float & | delta, | ||
const float & | mean | ||
) |
Call init() to initialise the Hinkley's test, set and thresholds, and the mean of the signal .
[in] | alpha | The threshold indicating that a mean drift occurs. |
[in] | delta | The drift minimal magnitude that we want to detect. |
[in] | mean | The expected value of the mean. |
Definition at line 115 of file vpStatisticalTestHinkley.cpp.
References init(), vpStatisticalTestAbstract::m_areStatisticsComputed, m_computeDeltaAndAlpha, vpStatisticalTestAbstract::m_mean, setAlpha(), and setDelta().
void vpStatisticalTestHinkley::init | ( | const float & | alpha, |
const float & | delta, | ||
const unsigned int & | nbSamplesForInit | ||
) |
Call init() to initialise the Hinkley's test and set and thresholds.
[in] | alpha | The threshold indicating that a mean drift occurs. |
[in] | delta | The drift minimal magnitude that we want to detect. |
[in] | nbSamplesForInit | : number of signal samples to initialize the mean of the signal. |
Definition at line 106 of file vpStatisticalTestHinkley.cpp.
References init(), m_computeDeltaAndAlpha, setAlpha(), setDelta(), and vpStatisticalTestAbstract::setNbSamplesForStat().
void vpStatisticalTestHinkley::init | ( | const float & | h, |
const float & | k, | ||
const bool & | computeAlphaDeltaFromStdev, | ||
const unsigned int & | nbSamplesForInit | ||
) |
(Re)Initialize a new vpStatisticalTestHinkley object. and will be computed from the standard deviation of the signal.
[in] | h | : the alarm factor that permits to compute from the standard deviation. |
[in] | k | : the detection factor that permits to compute from the standard deviation. |
[in] | computeAlphaDeltaFromStdev | : must be equal to true, otherwise throw a vpException. |
[in] | nbSamplesForInit | : number of signal samples to initialize the mean of the signal. |
Definition at line 125 of file vpStatisticalTestHinkley.cpp.
References vpException::badValue, init(), m_computeDeltaAndAlpha, m_h, m_k, and vpStatisticalTestAbstract::setNbSamplesForStat().
void vpStatisticalTestHinkley::init | ( | const float & | h, |
const float & | k, | ||
const float & | mean, | ||
const float & | stdev | ||
) |
(Re)Initialize a new vpStatisticalTestHinkley object. and will be computed from the standard deviation of the signal.
[in] | h | : the alarm factor that permits to compute from the standard deviation. |
[in] | k | : the detection factor that permits to compute from the standard deviation. |
[in] | mean | : the expected mean of the signal. |
[in] | stdev | : the expected standard deviation of the signal. |
Definition at line 137 of file vpStatisticalTestHinkley.cpp.
References computeAlphaDelta(), init(), vpStatisticalTestAbstract::m_areStatisticsComputed, m_computeDeltaAndAlpha, m_h, m_k, vpStatisticalTestAbstract::m_mean, and vpStatisticalTestAbstract::m_stdev.
|
staticinherited |
Print the message corresponding to the type of mean drift.
[in] | type | The type of mean drift. |
Definition at line 95 of file vpStatisticalTestAbstract.cpp.
References vpStatisticalTestAbstract::vpMeanDriftTypeToString().
void vpStatisticalTestHinkley::setAlpha | ( | const float & | alpha | ) |
The threshold indicating that a mean drift occurs.
[in] | alpha | The threshold. |
Definition at line 153 of file vpStatisticalTestHinkley.cpp.
References m_alpha, vpStatisticalTestAbstract::m_limitDown, and vpStatisticalTestAbstract::m_limitUp.
Referenced by computeAlphaDelta(), and init().
void vpStatisticalTestHinkley::setDelta | ( | const float & | delta | ) |
Set the drift minimal magnitude that we want to detect.
[in] | delta | The drift magnitude. |
Definition at line 151 of file vpStatisticalTestHinkley.cpp.
References m_dmin2.
Referenced by computeAlphaDelta(), and init().
|
inlineinherited |
Set the minimum value of the standard deviation that is expected. The computed standard deviation cannot be lower this value if set.
[in] | stdevmin | The minimum value of the standard deviation that is expected. |
Definition at line 220 of file vpStatisticalTestAbstract.h.
|
inherited |
Set the number of samples required to compute the mean and standard deviation of the signal and allocate the memory accordingly.
[in] | nbSamples | The number of samples we want to use. |
Definition at line 190 of file vpStatisticalTestAbstract.cpp.
References vpStatisticalTestAbstract::m_nbSamplesForStatistics, and vpStatisticalTestAbstract::m_s.
Referenced by init(), vpStatisticalTestEWMA::init(), vpStatisticalTestMeanAdjustedCUSUM::init(), vpStatisticalTestSigma::init(), and vpStatisticalTestAbstract::operator=().
|
inherited |
Test if a downward or an upward mean drift occurred according to the new value of the signal.
[in] | signal | The new value of the signal. |
Definition at line 199 of file vpStatisticalTestAbstract.cpp.
References vpStatisticalTestAbstract::detectDownwardMeanDrift(), vpStatisticalTestAbstract::detectUpwardMeanDrift(), vpStatisticalTestAbstract::m_areStatisticsComputed, vpStatisticalTestAbstract::MEAN_DRIFT_BOTH, vpStatisticalTestAbstract::MEAN_DRIFT_NONE, vpStatisticalTestAbstract::updateStatistics(), and vpStatisticalTestAbstract::updateTestSignals().
|
inherited |
Test if a downward mean drift occurred according to the new value of the signal.
[in] | signal | The new value of the signal. |
Definition at line 224 of file vpStatisticalTestAbstract.cpp.
References vpStatisticalTestAbstract::detectDownwardMeanDrift(), vpStatisticalTestAbstract::m_areStatisticsComputed, vpStatisticalTestAbstract::MEAN_DRIFT_NONE, vpStatisticalTestAbstract::updateStatistics(), and vpStatisticalTestAbstract::updateTestSignals().
|
inherited |
Test if an upward mean drift occurred according to the new value of the signal.
[in] | signal | The new value of the signal. |
Definition at line 236 of file vpStatisticalTestAbstract.cpp.
References vpStatisticalTestAbstract::detectUpwardMeanDrift(), vpStatisticalTestAbstract::m_areStatisticsComputed, vpStatisticalTestAbstract::MEAN_DRIFT_NONE, vpStatisticalTestAbstract::updateStatistics(), and vpStatisticalTestAbstract::updateTestSignals().
|
overrideprotectedvirtual |
Update m_s and if enough values are available, compute the mean, the standard deviation and the limits.
[in] | signal | The new value of the signal to monitor. |
Reimplemented from vpStatisticalTestAbstract.
Definition at line 223 of file vpStatisticalTestHinkley.cpp.
References computeAlphaDelta(), vpStatisticalTestAbstract::m_areStatisticsComputed, m_computeDeltaAndAlpha, m_Mk, m_Nk, m_Sk, m_Tk, and vpStatisticalTestAbstract::updateStatistics().
|
overrideprotectedvirtual |
Update the test signals.
[in] | signal | The new value of the signal to monitor. |
Implements vpStatisticalTestAbstract.
Definition at line 240 of file vpStatisticalTestHinkley.cpp.
References computeMean(), computeMk(), computeNk(), computeSk(), computeTk(), and vpStatisticalTestAbstract::m_count.
|
staticinherited |
Cast a string into a vpMeanDriftType.
[in] | name | The name of the mean drift. |
Definition at line 65 of file vpStatisticalTestAbstract.cpp.
References vpStatisticalTestAbstract::MEAN_DRIFT_COUNT, vpStatisticalTestAbstract::MEAN_DRIFT_UNKNOWN, and vpStatisticalTestAbstract::vpMeanDriftTypeToString().
|
staticinherited |
Cast a vpMeanDriftType into a string.
[in] | type | The type of mean drift. |
Definition at line 41 of file vpStatisticalTestAbstract.cpp.
References vpStatisticalTestAbstract::MEAN_DRIFT_BOTH, vpStatisticalTestAbstract::MEAN_DRIFT_DOWNWARD, vpStatisticalTestAbstract::MEAN_DRIFT_NONE, vpStatisticalTestAbstract::MEAN_DRIFT_UNKNOWN, and vpStatisticalTestAbstract::MEAN_DRIFT_UPWARD.
Referenced by vpStatisticalTestAbstract::getAvailableMeanDriftType(), vpStatisticalTestAbstract::print(), and vpStatisticalTestAbstract::vpMeanDriftTypeFromString().
|
protected |
The threshold indicating that a mean drift occurs.
Definition at line 92 of file vpStatisticalTestHinkley.h.
Referenced by detectDownwardMeanDrift(), detectUpwardMeanDrift(), init(), and setAlpha().
|
protectedinherited |
Set to true once the mean and the standard deviation are available.
Definition at line 108 of file vpStatisticalTestAbstract.h.
Referenced by vpStatisticalTestAbstract::init(), vpStatisticalTestShewhart::init(), init(), vpStatisticalTestEWMA::init(), vpStatisticalTestMeanAdjustedCUSUM::init(), vpStatisticalTestSigma::init(), vpStatisticalTestAbstract::operator=(), vpStatisticalTestAbstract::testDownUpwardMeanDrift(), vpStatisticalTestAbstract::testDownwardMeanDrift(), vpStatisticalTestAbstract::testUpwardMeanDrift(), vpStatisticalTestAbstract::updateStatistics(), and updateStatistics().
|
protected |
If true, compute and from the standard deviation, the alarm factor and the detection factor.
Definition at line 97 of file vpStatisticalTestHinkley.h.
Referenced by init(), and updateStatistics().
|
protectedinherited |
Current number of data used to compute the mean and the standard deviation.
Definition at line 109 of file vpStatisticalTestAbstract.h.
Referenced by computeMean(), vpStatisticalTestAbstract::init(), vpStatisticalTestAbstract::operator=(), vpStatisticalTestAbstract::updateStatistics(), and updateTestSignals().
|
protected |
Half of , the drift minimal magnitude that we want to detect.
Definition at line 91 of file vpStatisticalTestHinkley.h.
Referenced by computeSk(), computeTk(), and setDelta().
|
protected |
The alarm factor, that permits to compute from the standard deviation of the signal.
Definition at line 99 of file vpStatisticalTestHinkley.h.
Referenced by computeAlphaDelta(), and init().
|
protected |
The detection factor, that permits to compute from the standard deviation of the signal.
Definition at line 100 of file vpStatisticalTestHinkley.h.
Referenced by computeAlphaDelta(), and init().
|
protectedinherited |
Upper limit for the test signal m_wt.
Definition at line 110 of file vpStatisticalTestAbstract.h.
Referenced by vpStatisticalTestEWMA::computeDeltaAndLimits(), vpStatisticalTestSigma::computeLimits(), vpStatisticalTestShewhart::computeLimits(), vpStatisticalTestEWMA::detectDownwardMeanDrift(), vpStatisticalTestMeanAdjustedCUSUM::detectDownwardMeanDrift(), vpStatisticalTestShewhart::detectDownwardMeanDrift(), vpStatisticalTestSigma::detectDownwardMeanDrift(), vpStatisticalTestAbstract::init(), vpStatisticalTestAbstract::operator=(), setAlpha(), and vpStatisticalTestMeanAdjustedCUSUM::updateStatistics().
|
protectedinherited |
Lower limit for the test signal m_wt
Definition at line 111 of file vpStatisticalTestAbstract.h.
Referenced by vpStatisticalTestEWMA::computeDeltaAndLimits(), vpStatisticalTestSigma::computeLimits(), vpStatisticalTestShewhart::computeLimits(), vpStatisticalTestEWMA::detectUpwardMeanDrift(), vpStatisticalTestMeanAdjustedCUSUM::detectUpwardMeanDrift(), vpStatisticalTestShewhart::detectUpwardMeanDrift(), vpStatisticalTestSigma::detectUpwardMeanDrift(), vpStatisticalTestAbstract::init(), vpStatisticalTestAbstract::operator=(), setAlpha(), and vpStatisticalTestMeanAdjustedCUSUM::updateStatistics().
|
protectedinherited |
Mean of the monitored signal.
Definition at line 112 of file vpStatisticalTestAbstract.h.
Referenced by vpStatisticalTestEWMA::computeDeltaAndLimits(), vpStatisticalTestSigma::computeLimits(), vpStatisticalTestShewhart::computeLimits(), computeMean(), computeSk(), computeTk(), vpStatisticalTestShewhart::detectDownwardMeanDrift(), vpStatisticalTestShewhart::detectUpwardMeanDrift(), vpStatisticalTestAbstract::init(), vpStatisticalTestShewhart::init(), init(), vpStatisticalTestEWMA::init(), vpStatisticalTestMeanAdjustedCUSUM::init(), vpStatisticalTestSigma::init(), vpStatisticalTestAbstract::operator=(), vpStatisticalTestAbstract::updateStatistics(), vpStatisticalTestEWMA::updateStatistics(), and vpStatisticalTestMeanAdjustedCUSUM::updateTestSignals().
|
protected |
Maximum of the test signal for downward mean drift .
Definition at line 94 of file vpStatisticalTestHinkley.h.
Referenced by computeMean(), computeMk(), detectDownwardMeanDrift(), init(), and updateStatistics().
|
protectedinherited |
Number of samples to use to compute the mean and the standard deviation.
Definition at line 113 of file vpStatisticalTestAbstract.h.
Referenced by vpStatisticalTestAbstract::init(), vpStatisticalTestAbstract::operator=(), vpStatisticalTestAbstract::setNbSamplesForStat(), and vpStatisticalTestAbstract::updateStatistics().
|
protected |
Minimum of the test signal for upward mean drift
Definition at line 96 of file vpStatisticalTestHinkley.h.
Referenced by computeMean(), computeNk(), detectUpwardMeanDrift(), init(), and updateStatistics().
|
protectedinherited |
Array that keeps the samples used to compute the mean and standard deviation.
Definition at line 114 of file vpStatisticalTestAbstract.h.
Referenced by vpStatisticalTestSigma::getSignal(), vpStatisticalTestAbstract::init(), vpStatisticalTestAbstract::operator=(), vpStatisticalTestAbstract::setNbSamplesForStat(), vpStatisticalTestAbstract::updateStatistics(), and vpStatisticalTestAbstract::~vpStatisticalTestAbstract().
|
protected |
Test signal for downward mean drift.
Definition at line 93 of file vpStatisticalTestHinkley.h.
Referenced by computeMean(), computeMk(), computeSk(), detectDownwardMeanDrift(), init(), and updateStatistics().
|
protectedinherited |
Standard deviation of the monitored signal.
Definition at line 115 of file vpStatisticalTestAbstract.h.
Referenced by computeAlphaDelta(), vpStatisticalTestEWMA::computeDeltaAndLimits(), vpStatisticalTestMeanAdjustedCUSUM::computeDeltaAndLimits(), vpStatisticalTestSigma::computeLimits(), vpStatisticalTestShewhart::computeLimits(), vpStatisticalTestAbstract::init(), vpStatisticalTestShewhart::init(), vpStatisticalTestEWMA::init(), init(), vpStatisticalTestMeanAdjustedCUSUM::init(), vpStatisticalTestSigma::init(), vpStatisticalTestAbstract::operator=(), and vpStatisticalTestAbstract::updateStatistics().
|
protectedinherited |
Minimum allowed standard deviation of the monitored signal.
Definition at line 116 of file vpStatisticalTestAbstract.h.
Referenced by vpStatisticalTestAbstract::updateStatistics().
|
protectedinherited |
Sum of the samples used to compute the mean and standard deviation.
Definition at line 117 of file vpStatisticalTestAbstract.h.
Referenced by vpStatisticalTestAbstract::init(), vpStatisticalTestMeanAdjustedCUSUM::init(), vpStatisticalTestAbstract::operator=(), and vpStatisticalTestAbstract::updateStatistics().
|
protected |
Test signal for upward mean drift.
Definition at line 95 of file vpStatisticalTestHinkley.h.
Referenced by computeMean(), computeNk(), computeTk(), detectUpwardMeanDrift(), init(), and updateStatistics().