CGAL 5.6.2 - Interval Skip List
|
The concept Interval
describes the requirements for the template argument Interval
of a Interval_skip_list<Interval>
.
The concept does not specify, whether the interval is open or closed. It is up to the implementer of a model for this concept to define that.
Interval_skip_list
Creation | |
Interval () | |
Default constructor. | |
Types | |
typedef unspecified_type | Value |
The type of the lower and upper bound of the interval. | |
Access Functions | |
Value | inf () const |
Returns the lower bound. | |
Value | sup () const |
Returns the upper bound. | |
bool | contains (const Value &v) const |
Returns true , iff the interval contains v . | |
bool | contains_interval (const Value &i, const Value &s) const |
Returns true , iff the interval contains (i,s) . | |
bool | operator== (const Interval &I) const |
Equality test. | |
bool | operator!= (const Interval &I) const |
Inequality test. | |