interval_to_set

interval_to_set(interval)[source]

Get all the indices covered by an Interval.

Parameters:

interval (Interval) -- Interval to retrieve indices for.

Returns:

Set of indices covered by given Interval.

Return type:

set[int]