SCIPInterval Class Reference Detailed Descriptionan interval that extends the SCIP_INTERVAL struct Used by various methods to allow calculating with intervals as with ordinary numbers. Definition at line 42 of file intervalarithext.h.
Constructor & Destructor Documentation
default constructor -> gives entire interval Definition at line 52 of file intervalarithext.h. References infinity.
constructor for an SCIP_INTERVAL struct
Definition at line 58 of file intervalarithext.h. constructor for an interval giving pointwise bounds
Definition at line 66 of file intervalarithext.h.
constructor for a singleton
Definition at line 75 of file intervalarithext.h. Member Function Documentationsets interval bounds
Definition at line 83 of file intervalarithext.h.
returns whether this interval is equal to another one
Definition at line 92 of file intervalarithext.h. References infinity.
returns whether this interval is not equal to another one
Definition at line 106 of file intervalarithext.h.
returns whether this interval is equal to a given number
Definition at line 114 of file intervalarithext.h. References infinity.
adds another interval to this one
Definition at line 124 of file intervalarithext.h. References infinity.
subtracts an interval from this one
Definition at line 133 of file intervalarithext.h. References infinity.
multiplies an interval with this one
Definition at line 142 of file intervalarithext.h. References infinity.
divides this interval by another one
Definition at line 151 of file intervalarithext.h. References infinity.
assigns a number to this interval
Definition at line 160 of file intervalarithext.h.
assign an interval to this interval
Definition at line 169 of file intervalarithext.h. Field Documentation
value to use for infinity Currently a global variable, thus use with care! Definition at line 49 of file intervalarithext.h. Referenced by abs(), exp(), exprEvalUser(), log(), operator*(), operator*=(), operator+(), operator+=(), operator-(), operator-=(), operator/(), operator/=(), operator==(), pow(), SCIPexprintEvalInt(), SCIPInterval(), sign(), signpow(), sqrt(), and square(). |