MCPcopy Create free account
hub / github.com/chaimleib/intervaltree / items

Method items

intervaltree/intervaltree.py:846–853  ·  view source on GitHub ↗

Constructs and returns a set of all intervals in the tree. Completes in O(n) time. :rtype: set of Interval

(self)

Source from the content-addressed store, hash-verified

844 self.__init__(merged)
845
846 def items(self):
847 """
848 Constructs and returns a set of all intervals in the tree.
849
850 Completes in O(n) time.
851 :rtype: set of Interval
852 """
853 return set(self.all_intervals)
854
855 def is_empty(self):
856 """

Callers 15

test_list_initFunction · 0.95
test_generator_initFunction · 0.95
test_empty_queriesFunction · 0.95
test_insertFunction · 0.95
test_duplicate_insertFunction · 0.95
__init__Method · 0.80
_formatMethod · 0.80
_safe_reprFunction · 0.80
test_copy_castFunction · 0.80

Calls

no outgoing calls

Tested by 12

test_list_initFunction · 0.76
test_generator_initFunction · 0.76
test_empty_queriesFunction · 0.76
test_insertFunction · 0.76
test_duplicate_insertFunction · 0.76
test_copy_castFunction · 0.64
__init__Method · 0.64
summarizeMethod · 0.64
tabulateMethod · 0.64