MCPcopy Create free account
hub / github.com/Paper2Poster/Paper2Poster / __init__

Method __init__

docling/utils/layout_postprocessor.py:128–129  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

126 """Memory-efficient interval tree for 1D overlap queries."""
127
128 def __init__(self):
129 self.intervals: List[Interval] = [] # Sorted by min_val
130
131 def insert(self, min_val: float, max_val: float, id: int):
132 interval = Interval(min_val, max_val, id)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected