RSC
0.17.1
|
Defines a interface for metric conditions. More...
#include <SequenceMonitor.h>
Public Member Functions | |
MetricCondition (MetricPtr m) | |
virtual | ~MetricCondition () |
virtual bool | isFulfilled (const double *v1, const double *v2, const unsigned int &dim)=0 |
Tests whether the metric condition is fulfilled for two vectors. More... | |
Protected Attributes | |
const MetricPtr | metric |
Defines a interface for metric conditions.
Provides a method is fulfilled.
Definition at line 120 of file SequenceMonitor.h.
rsc::math::MetricCondition::MetricCondition | ( | MetricPtr | m | ) |
Definition at line 57 of file SequenceMonitor.cpp.
|
virtual |
Definition at line 61 of file SequenceMonitor.cpp.
|
pure virtual |
Tests whether the metric condition is fulfilled for two vectors.
v1 | a vector |
v2 | another vector |
dim | dimension of the two vectors v1 and v2 |
Implemented in rsc::math::AboveThreshold, and rsc::math::BelowThreshold.
|
protected |
Definition at line 138 of file SequenceMonitor.h.
Referenced by rsc::math::BelowThreshold::isFulfilled(), and rsc::math::AboveThreshold::isFulfilled().