interval_to_set

interval_to_set(interval: Interval) set[int][source]

Get all the indices covered by an Interval.

Parameters:

interval -- Interval to retrieve indices for.

Returns:

Set of indices covered by given Interval.