snark
|
multi-dimensional interval More...
#include <interval.h>
Public Member Functions | |
closed_interval (const vector_type &min, const vector_type &max) | |
constructor | |
closed_interval (const vector_type &rhs) | |
constructor | |
closed_interval () | |
default constructor | |
bool | contains (const vector_type &rhs) const |
return true, if variable belongs to the interval | |
bool | contains (const closed_interval &rhs) const |
return true, if the whole rhs interval belongs to the interval | |
closed_interval< T, N > | hull (const vector_type &rhs) const |
compute the hull of the interval and [rhs] | |
closed_interval< T, N > | hull (const closed_interval &rhs) const |
compute the hull of 2 intervals | |
const vector_type & | max () const |
return right boundary (convenience method) | |
const vector_type & | min () const |
return left boundary (convenience method) | |
bool | operator!= (const closed_interval &rhs) const |
unequality | |
const std::pair< vector_type, vector_type > & | operator() () const |
return value | |
bool | operator== (const closed_interval &rhs) const |
equality | |
const closed_interval< T, N > & | set_hull (const vector_type &rhs) |
compute and assign the hull of the interval and [rhs] | |
const closed_interval< T, N > & | set_hull (const closed_interval &rhs) |
compute and assign the hull of 2 intervals |
multi-dimensional interval