#include <IntervalVector.h>
Public Member Functions | |
| void | set_empty () |
| bool | empty () const |
| bool | contains (const VECTOR &x) const |
| bool | unbounded () const |
| bool | flat () const |
| bool | included (const INTERVAL_VECTOR &outer) const |
| bool | interior (const INTERVAL_VECTOR &outer) const |
| REAL | max_diameter () const |
| REAL | volume () const |
| REAL | perimeter () const |
| REAL | maxdelta (const INTERVAL_VECTOR &x) const |
| REAL | maxratiodelta (const INTERVAL_VECTOR &x) const |
| bool | operator &= (const INTERVAL_VECTOR &x) |
| void | operator|= (const INTERVAL_VECTOR &x) |
| void | diameter_sort (int indices[]) const |
Friends | |
| INTERVAL_VECTOR | operator & (CONST INTERVAL_VECTOR &, CONST INTERVAL_VECTOR &) |
This class has been augmented with some frequently used features.
| void INTERVAL_VECTOR::set_empty | ( | ) | [inline] |
Set this interval vector to the empty set.
| bool INTERVAL_VECTOR::empty | ( | ) | const [inline] |
Return true iff the interval vector is empty.
| bool INTERVAL_VECTOR::contains | ( | const VECTOR & | x | ) | const [inline] |
Return true iff this interval vector contains x.
| bool INTERVAL_VECTOR::unbounded | ( | ) | const [inline] |
Return true iff this interval vector contains an infinite bound.
| bool INTERVAL_VECTOR::flat | ( | ) | const [inline] |
Return true iff one component is degenerated (i.e., if one component has null diameter).
| bool INTERVAL_VECTOR::included | ( | const INTERVAL_VECTOR & | outer | ) | const [inline] |
Return true iff this interval vector is included in outer.
| bool INTERVAL_VECTOR::interior | ( | const INTERVAL_VECTOR & | outer | ) | const [inline] |
Return true iff this interval vector is included in the interior of outer.
| REAL INTERVAL_VECTOR::max_diameter | ( | ) | const |
Return the largest component diameter of this interval vector.
BiasPosInf if unbounded. | REAL INTERVAL_VECTOR::volume | ( | ) | const |
Return the volume of this interval vector.
BiasPosInf if the vector is unbounded and not flat. Return 0 if the vector is flat and not unbounded.
| REAL INTERVAL_VECTOR::perimeter | ( | ) | const |
Return the perimeter of this interval vector.
BiasPosInf if unbounded. | REAL INTERVAL_VECTOR::maxdelta | ( | const INTERVAL_VECTOR & | x | ) | const |
Compute the maximum of the delta operator componentwise.
| REAL INTERVAL_VECTOR::maxratiodelta | ( | const INTERVAL_VECTOR & | x | ) | const |
Compute the maximum of the ratiodelta operator componentwise.
| bool INTERVAL_VECTOR::operator &= | ( | const INTERVAL_VECTOR & | x | ) |
Set this interval vector to the intersection of itself with another interval vector x.
| x | - the interval vector to compute the intersection with. |
true if the intersection is non empty. | void INTERVAL_VECTOR::operator|= | ( | const INTERVAL_VECTOR & | x | ) |
Set this interval vector to the hull of itself with another interval vector x.
| x | - the interval vector to compute the hull with. |
| void INTERVAL_VECTOR::diameter_sort | ( | int | indices[] | ) | const |
Sort the components of this interval vector by increasing diameter.
| indices | - a preallocated array of integer. |
| INTERVAL_VECTOR operator & | ( | CONST INTERVAL_VECTOR & | , | |
| CONST INTERVAL_VECTOR & | ||||
| ) | [friend] |
Return the intersection of x and y.
If the intersection is empty, INTERVAL_VECTOR:empty() will return true.
1.5.5