Public Member Functions | |
BoundedDomain (const double &lower, const double &upper) | |
bool | hasLowerBound () const |
double | lowerBound () const |
bool | hasUpperBound () const |
double | upperBound () const |
string | description () const |
Private Attributes | |
double | lower_ |
double | upper_ |
Definition at line 103 of file SundanceFunctorDomain.hpp.
BoundedDomain::BoundedDomain | ( | const double & | lower, | |
const double & | upper | |||
) |
Definition at line 74 of file SundanceFunctorDomain.cpp.
string Sundance::BoundedDomain::description | ( | ) | const [inline, virtual] |
Implements Sundance::FunctorDomain.
Definition at line 116 of file SundanceFunctorDomain.hpp.
References lowerBound(), Sundance::toString(), and upperBound().
bool Sundance::BoundedDomain::hasLowerBound | ( | ) | const [inline, virtual] |
Reimplemented from Sundance::FunctorDomain.
Definition at line 108 of file SundanceFunctorDomain.hpp.
bool Sundance::BoundedDomain::hasUpperBound | ( | ) | const [inline, virtual] |
Reimplemented from Sundance::FunctorDomain.
Definition at line 112 of file SundanceFunctorDomain.hpp.
double Sundance::BoundedDomain::lowerBound | ( | ) | const [inline, virtual] |
Reimplemented from Sundance::FunctorDomain.
Definition at line 110 of file SundanceFunctorDomain.hpp.
References lower_.
Referenced by description().
double Sundance::BoundedDomain::upperBound | ( | ) | const [inline, virtual] |
Reimplemented from Sundance::FunctorDomain.
Definition at line 114 of file SundanceFunctorDomain.hpp.
References upper_.
Referenced by description().
double Sundance::BoundedDomain::lower_ [private] |
double Sundance::BoundedDomain::upper_ [private] |