A structure that holds the constructor parameters for the FrequencyStatus class. More...
#include <update_functions.h>
Public Member Functions | |
FrequencyStatusParam (double *min_freq, double *max_freq, double tolerance=0.1, int window_size=5) | |
Creates a filled-out FrequencyStatusParam. More... | |
Public Attributes | |
double * | max_freq_ |
Maximum acceptable frequency. More... | |
double * | min_freq_ |
Minimum acceptable frequency. More... | |
double | tolerance_ |
Tolerance with which bounds must be satisfied. More... | |
int | window_size_ |
Number of events to consider in the statistics. More... | |
A structure that holds the constructor parameters for the FrequencyStatus class.
Definition at line 51 of file update_functions.h.
|
inline |
Creates a filled-out FrequencyStatusParam.
Definition at line 57 of file update_functions.h.
double* diagnostic_updater::FrequencyStatusParam::max_freq_ |
Maximum acceptable frequency.
A pointer is used so that the value can be updated.
Definition at line 75 of file update_functions.h.
double* diagnostic_updater::FrequencyStatusParam::min_freq_ |
Minimum acceptable frequency.
A pointer is used so that the value can be updated.
Definition at line 67 of file update_functions.h.
double diagnostic_updater::FrequencyStatusParam::tolerance_ |
Tolerance with which bounds must be satisfied.
Acceptable values are from *min_freq_ * (1 - torelance_) to *max_freq_ * (1 + tolerance_).
Common use cases are to set tolerance_ to zero, or to assign the same value to *max_freq_ and min_freq_.
Definition at line 87 of file update_functions.h.
int diagnostic_updater::FrequencyStatusParam::window_size_ |
Number of events to consider in the statistics.
Definition at line 92 of file update_functions.h.