RSC
0.19.0
|
The BelowThreshold - condition tests whether a given metric of two vectors stays below a given upper threshold. More...
#include <SequenceMonitor.h>
Public Member Functions | |
BelowThreshold (const MetricPtr m, const double threshold) | |
bool | isFulfilled (const double *v1, const double *v2, const unsigned int &dim) |
tests whether two vectors fulfill the BelowUpperThreshold - condition More... | |
Public Member Functions inherited from rsc::math::MetricCondition | |
MetricCondition (MetricPtr m) | |
virtual | ~MetricCondition () |
Protected Attributes | |
const double | threshold |
Protected Attributes inherited from rsc::math::MetricCondition | |
const MetricPtr | metric |
The BelowThreshold - condition tests whether a given metric of two vectors stays below a given upper threshold.
Definition at line 148 of file SequenceMonitor.h.
rsc::math::BelowThreshold::BelowThreshold | ( | const MetricPtr | m, |
const double | threshold | ||
) |
Definition at line 64 of file SequenceMonitor.cpp.
|
virtual |
tests whether two vectors fulfill the BelowUpperThreshold - condition
v1 | a vector |
v2 | another vector |
dim | dimension of both given vectors |
Implements rsc::math::MetricCondition.
Definition at line 68 of file SequenceMonitor.cpp.
References rsc::math::MetricCondition::metric, and threshold.
|
protected |
Definition at line 164 of file SequenceMonitor.h.
Referenced by isFulfilled().