Interval of ordered items.
Declaration :
Artifact : Interval
Attribut lower |
lower bound.
Declaration :
Attribut upper |
Upper bound.
Declaration :
Attribut lower_unbounded |
lower boundary open (i.e. = -infinity)
Declaration :
Attribut upper_unbounded |
upper boundary open (i.e. = +infinity)
Declaration :
Attribut lower_included |
lower boundary value included in range if not lower_unbounded.
Declaration :
Attribut upper_included |
upper boundary value included in range if not upper_unbounded.
Declaration :
Operation has |
True if (lower_unbounded or
((lower_included and v >= lower) or
v > lower)) and
(upper_unbounded or
((upper_included and v <= upper or v
< upper)))
Declaration :
All public operations : has