Subscribe

Issue No.10 - October (1996 vol.7)

pp: 1009-1025

DOI Bookmark: http://doi.ieeecomputersociety.org/10.1109/71.539733

ABSTRACT

<p>Abstract—Given a family <tmath>${\cal I}$</tmath> of intervals, two intervals in <tmath>${\cal I}$</tmath> interlock if they overlap but neither of them strictly contains the other. A set of intervals in which every two are related in the reflexive transitive closure of the interlock relation is referred to as an interlocking set. The task is determining the maximal interlocking sets of <tmath>${\cal I}$</tmath> arises in numerous applications, including traffic control, robot arm manipulation, segmentation of range images, routing, automated surveillance systems, recognizing polygonal configurations, and code generation for parallel machines. Our first contribution is to show that any sequential algorithm that computes the maximal interlocking sets of a family of <it>n</it> intervals must take Ω(<it>n</it> log <it>n</it>) time in the algebraic tree model. Next, we show that any parallel algorithm for this problem must take Ω(log <it>n</it>) time in the CREW model even if an infinite number of processors and memory cells are available. We then go on to show that both the sequential and the parallel lower bounds are tight by providing matching algorithms running, respectively, in Θ(<it>n</it> log <it>n</it>) sequential time and in Θ(log <it>n</it>) time using <it>n</it> processors in the CREW model. At the same time, if the endpoints of the intervals are specified in sorted order, our sequential algorithm runs in Θ(<it>n</it>) time, improving the best previously known result. It is interesting to note that even if the endpoints are sorted, Ω(log <it>n</it>) is a time lower bound for solving the problem in the CREW model, regardless of the amount of resources available. As an application of our algorithm for interlocking sets, we obtain a time- and cost-optimal solution to a restricted version of the single row routing problem. The best previously known result for routing a set of <it>n</it> nets without street crossovers runs in O(log <it>n</it> loglog <it>n</it>) time using <it>n</it> processors in the CRCW model. By contrast, our algorithm runs in Θ(log <it>n</it>) time using <tmath>${\textstyle{n \over {{\rm log}\,\,n}}}$</tmath> processors in the CREW model, being both time- and cost-optimal.</p>

INDEX TERMS

Circuit design, routing, CAD, VLSI, parallel algorithms, lower bounds, time-optimal algorithms.

CITATION

Stephan Olariu, Albert Y. Zomaya, "A Time- and Cost-Optimal Algorithm for Interlocking Sets-With Applications",

*IEEE Transactions on Parallel & Distributed Systems*, vol.7, no. 10, pp. 1009-1025, October 1996, doi:10.1109/71.539733