DurationInterval

class unified_planning.model.timing.DurationInterval(lower: FNode, upper: FNode, is_left_open: bool = False, is_right_open: bool = False)[source]

Bases: Duration, Interval

Class used to indicate that an Interval is also a Duration.

property environment: Environment

Returns the Interval’s Environment.

is_left_open() bool

Returns True if the lower bound of this Interval is not included in the Interval, False otherwise.

is_right_open() bool

Returns True if the upper bound of this Interval is not included in the Interval, False otherwise.

property lower: FNode

Returns the Interval’s lower bound.

property upper: FNode

Returns the Interval’s upper bound.