#include <Bound.hpp>
Public Types | |
enum | bound_t { BOUND_NONE, BOUND_INF, BOUND_SUP, BOUND_DOUBLE, BOUND_TWIN } |
Public Member Functions | |
Bound (void) | |
Bound (const Bound &clone) | |
Bound (const double &val, bound_t type) | |
Bound (const double &inValInf, const double &inValSup) | |
Bound (const double &valTwin) | |
const bound_t & | getType (void) const |
const double & | getBound (bound_t type) const |
bound_t | check (const double &val, const double &EPSILON=0) const |
bound_t | check (const double &val, std::pair< double, double > damp, const double &EPSILON=0) const |
bound_t | checkSaturation (const double &val, const double &EPSILON) const |
double | distance (const double &val) const |
Bound & | operator= (const Bound &clone) |
Bound & | operator= (const double &val) |
Bound & | operator= (const std::pair< double, double > &val) |
Protected Attributes | |
bound_t | type |
double | valInf |
double | valSup |
double & | valTwin |
Friends | |
SOTH_EXPORT friend std::ostream & | operator<< (std::ostream &os, const Bound &) |
enum soth::Bound::bound_t |
soth::Bound::Bound | ( | void | ) |
soth::Bound::Bound | ( | const Bound & | clone | ) |
soth::Bound::Bound | ( | const double & | val, |
bound_t | type | ||
) |
References BOUND_DOUBLE, BOUND_NONE, and type.
soth::Bound::Bound | ( | const double & | inValInf, |
const double & | inValSup | ||
) |
soth::Bound::Bound | ( | const double & | valTwin | ) |
Bound::bound_t soth::Bound::check | ( | const double & | val, |
const double & | EPSILON = 0 |
||
) | const |
References BOUND_DOUBLE, BOUND_INF, BOUND_NONE, BOUND_SUP, BOUND_TWIN, type, valInf, and valSup.
Referenced by soth::Stage::checkBound().
Bound::bound_t soth::Bound::check | ( | const double & | val, |
std::pair< double, double > | damp, | ||
const double & | EPSILON = 0 |
||
) | const |
References BOUND_DOUBLE, BOUND_INF, BOUND_NONE, BOUND_SUP, BOUND_TWIN, type, valInf, and valSup.
Bound::bound_t soth::Bound::checkSaturation | ( | const double & | val, |
const double & | EPSILON | ||
) | const |
References BOUND_DOUBLE, BOUND_INF, BOUND_NONE, BOUND_SUP, BOUND_TWIN, type, valInf, and valSup.
double soth::Bound::distance | ( | const double & | val | ) | const |
References BOUND_DOUBLE, BOUND_INF, BOUND_NONE, BOUND_SUP, BOUND_TWIN, type, valInf, valSup, and valTwin.
const double & soth::Bound::getBound | ( | bound_t | type | ) | const |
References BOUND_DOUBLE, BOUND_INF, BOUND_NONE, BOUND_SUP, BOUND_TWIN, type, valInf, valSup, and valTwin.
Referenced by soth::Stage::checkBound(), and soth::HCOD::downdate().
|
inline |
Bound & soth::Bound::operator= | ( | const double & | val | ) |
References BOUND_TWIN, type, and valTwin.
Bound & soth::Bound::operator= | ( | const std::pair< double, double > & | val | ) |
References BOUND_DOUBLE, type, valInf, and valSup.
|
friend |
|
protected |
Referenced by Bound(), check(), checkSaturation(), distance(), getBound(), soth::operator<<(), and operator=().
|
protected |
Referenced by check(), checkSaturation(), distance(), getBound(), soth::operator<<(), and operator=().
|
protected |
Referenced by check(), checkSaturation(), distance(), getBound(), soth::operator<<(), and operator=().
|
protected |
Referenced by distance(), getBound(), soth::operator<<(), and operator=().