public class SweepLineIndex
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
(package private) java.util.List |
events |
private boolean |
indexBuilt |
private int |
nOverlaps |
| Constructor and Description |
|---|
SweepLineIndex() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(SweepLineInterval sweepInt) |
private void |
buildIndex()
Because Delete Events have a link to their corresponding Insert event,
it is possible to compute exactly the range of events which must be
compared to a given Insert event object.
|
void |
computeOverlaps(SweepLineOverlapAction action) |
private void |
processOverlaps(int start,
int end,
SweepLineInterval s0,
SweepLineOverlapAction action) |
java.util.List events
private boolean indexBuilt
private int nOverlaps
public void add(SweepLineInterval sweepInt)
private void buildIndex()
public void computeOverlaps(SweepLineOverlapAction action)
private void processOverlaps(int start,
int end,
SweepLineInterval s0,
SweepLineOverlapAction action)