Implementation of double inequality. More...
#include <hpp/core/comparison-type.hh>
Public Member Functions | |
virtual bool | operator() (vectorOut_t value, matrixOut_t jacobian) const |
Return the result of the comparison. More... | |
virtual bool | operator() (vectorOut_t value) const |
Return the result of the comparison. More... | |
void | threshold (const value_type &t) |
![]() | |
virtual bool | constantRightHandSide () const |
Return whether the right hand side of the comparison is constant. More... | |
Static Public Member Functions | |
static ComparisonTypePtr_t | create (const value_type width, const value_type &threshold=1e-3) |
![]() | |
static ComparisonTypePtr_t | createDefault () |
Protected Member Functions | |
DoubleInequality (const value_type width, const value_type &threshold) | |
Additional Inherited Members | |
![]() | |
enum | Type { Equality, EqualToZero, Superior, Inferior, DoubleInequality } |
typedef std::vector< Type > | VectorOfTypes |
Implementation of double inequality.
is set at construction by parameter width of DoubleInequality::create.
|
protected |
|
static |
|
virtual |
Return the result of the comparison.
[in,out] | value | the value that will be compared and saturated. |
[in,out] | jacobian | the jacobian to be saturated depending on the value. |
Implements hpp::core::ComparisonType.
|
virtual |
Return the result of the comparison.
[in,out] | value | the value that will be compared and saturated. |
Implements hpp::core::ComparisonType.
void hpp::core::DoubleInequality::threshold | ( | const value_type & | t | ) |