Visual Servoing Platform  version 3.6.1 under development (2024-04-28)
TutorialMeanDrift::ParametersForAlgo Struct Reference

Public Member Functions

 ParametersForAlgo ()
 

Public Attributes

unsigned int m_test_nbsamples
 
bool m_test_activatedalarms [vpStatisticalTestAbstract::MEAN_DRIFT_COUNT]
 
unsigned int m_test_nbactivatedalarms
 
float m_cusum_h
 
float m_cusum_k
 
float m_ewma_alpha
 
float m_hinkley_alpha
 
float m_hinkley_delta
 
bool m_hinkley_computealphadelta
 
float m_hinkley_h
 
float m_hinkley_k
 
bool m_shewhart_useWECO
 
bool m_shewhart_rules [vpStatisticalTestShewhart::COUNT_WECO - 1]
 
float m_sigma_h
 

Detailed Description

[Structure_Parameters]

Structure that contains the parameters of the different algorithms.

Examples
tutorial-meandrift.cpp.

Definition at line 311 of file tutorial-meandrift.cpp.

Constructor & Destructor Documentation

◆ ParametersForAlgo()

Member Data Documentation

◆ m_cusum_h

float TutorialMeanDrift::ParametersForAlgo::m_cusum_h

Alarm factor for the mean adjusted CUSUM test.

Examples
tutorial-meandrift.cpp.

Definition at line 316 of file tutorial-meandrift.cpp.

◆ m_cusum_k

float TutorialMeanDrift::ParametersForAlgo::m_cusum_k

Detection factor for the mean adjusted CUSUM test.

Examples
tutorial-meandrift.cpp.

Definition at line 317 of file tutorial-meandrift.cpp.

◆ m_ewma_alpha

float TutorialMeanDrift::ParametersForAlgo::m_ewma_alpha

Forgetting factor for the EWMA test.

Examples
tutorial-meandrift.cpp.

Definition at line 318 of file tutorial-meandrift.cpp.

◆ m_hinkley_alpha

float TutorialMeanDrift::ParametersForAlgo::m_hinkley_alpha

Alarm threshold for the Hinkley's test.

Examples
tutorial-meandrift.cpp.

Definition at line 319 of file tutorial-meandrift.cpp.

◆ m_hinkley_computealphadelta

bool TutorialMeanDrift::ParametersForAlgo::m_hinkley_computealphadelta

If true, compute alpha and delta of the Hinkley's using the stdev of the signal.

Examples
tutorial-meandrift.cpp.

Definition at line 321 of file tutorial-meandrift.cpp.

◆ m_hinkley_delta

float TutorialMeanDrift::ParametersForAlgo::m_hinkley_delta

Detection threshold for the Hinkley's test.

Examples
tutorial-meandrift.cpp.

Definition at line 320 of file tutorial-meandrift.cpp.

◆ m_hinkley_h

float TutorialMeanDrift::ParametersForAlgo::m_hinkley_h

Alarm factor permitting to compute alpha from the standard deviation of the signal.

Examples
tutorial-meandrift.cpp.

Definition at line 322 of file tutorial-meandrift.cpp.

◆ m_hinkley_k

float TutorialMeanDrift::ParametersForAlgo::m_hinkley_k

Detection factor permitting to compute delta from the standard deviation of the signal.

Examples
tutorial-meandrift.cpp.

Definition at line 323 of file tutorial-meandrift.cpp.

◆ m_shewhart_rules

bool TutorialMeanDrift::ParametersForAlgo::m_shewhart_rules[vpStatisticalTestShewhart::COUNT_WECO - 1]

Rules for the Shewart's test. True activate a WECO rule, false deactivate it.

Examples
tutorial-meandrift.cpp.

Definition at line 325 of file tutorial-meandrift.cpp.

Referenced by ParametersForAlgo().

◆ m_shewhart_useWECO

bool TutorialMeanDrift::ParametersForAlgo::m_shewhart_useWECO

If true, use the WECO rules for additionnal subtests for Shewhart's test.

Examples
tutorial-meandrift.cpp.

Definition at line 324 of file tutorial-meandrift.cpp.

◆ m_sigma_h

float TutorialMeanDrift::ParametersForAlgo::m_sigma_h

Alarm factor for the sigma test.

Examples
tutorial-meandrift.cpp.

Definition at line 326 of file tutorial-meandrift.cpp.

◆ m_test_activatedalarms

bool TutorialMeanDrift::ParametersForAlgo::m_test_activatedalarms[vpStatisticalTestAbstract::MEAN_DRIFT_COUNT]

Flag is true for a type of alarm that must be considered, false otherwise.

Examples
tutorial-meandrift.cpp.

Definition at line 314 of file tutorial-meandrift.cpp.

Referenced by ParametersForAlgo().

◆ m_test_nbactivatedalarms

unsigned int TutorialMeanDrift::ParametersForAlgo::m_test_nbactivatedalarms

Number of activated alarms.

Examples
tutorial-meandrift.cpp.

Definition at line 315 of file tutorial-meandrift.cpp.

Referenced by ParametersForAlgo().

◆ m_test_nbsamples

unsigned int TutorialMeanDrift::ParametersForAlgo::m_test_nbsamples

Number of samples to compute the mean and stdev, common to all the algorithms.

Examples
tutorial-meandrift.cpp.

Definition at line 313 of file tutorial-meandrift.cpp.