semantique.processor.values.Interval#
- class semantique.processor.values.Interval(lower, upper)[source]#
Object to represent a set of values within the bounds of an interval.
The interval is closed at both sides, meaning that both of its bounds belong to the set. By definition, the given bounds should be ordinal, continuous or discrete values, and the lower bound should be smaller than or equal to the upper bound.
- Parameters:
Methods
__init__
(lower, upper)Attributes
The lower bound of the interval.
Semantique accessor.
The upper bound of the interval.
The possible value types of the interval.