RSC
0.17.1
|
The AboveThreshold - condition tests whether a given metric of two vectors stays above a given threshold. More...
#include <SequenceMonitor.h>
Public Member Functions | |
AboveThreshold (const MetricPtr m, const double threshold) | |
bool | isFulfilled (const double *v1, const double *v2, const unsigned int &dim) |
tests whether two vectors fulfill the AboveThreshold - 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 AboveThreshold - condition tests whether a given metric of two vectors stays above a given threshold.
Definition at line 174 of file SequenceMonitor.h.
rsc::math::AboveThreshold::AboveThreshold | ( | const MetricPtr | m, |
const double | threshold | ||
) |
Definition at line 73 of file SequenceMonitor.cpp.
|
virtual |
tests whether two vectors fulfill the AboveThreshold - condition
v1 | a vector |
v2 | another vector |
dim | dimension of both given vectors |
Implements rsc::math::MetricCondition.
Definition at line 77 of file SequenceMonitor.cpp.
References rsc::math::MetricCondition::metric, and threshold.
|
protected |
Definition at line 190 of file SequenceMonitor.h.
Referenced by isFulfilled().