<interval-and> ( set1 set2 -- set )
Interval sets

Prev:<interval-not> ( set maximum -- set' )
Next:<interval-or> ( set1 set2 -- set )


Vocabulary
interval-sets

Inputs and outputs
set1an interval-set
set2an interval-set
setan interval-set


Word description
Calculates the intersection of two interval sets. This takes O(n+m) time, where the input interval maps have n and m intervals in them.

Definition