首页 | 本学科首页   官方微博 | 高级检索  
     检索      


An improved algorithm for the rectangle enclosure problem
Authors:DT Lee  FP Preparata
Institution:Department of Electrical Engineering and Computer Science, Northwestern University, Evanston, Illinois 60201 USA;Coordinated Science Laboratory, University of Illinois, Urbana, Illinois 61801 USA
Abstract:Given a set of n rectangles in the plane, with sides parallel to the coordinate axes, the rectangle enclosure problem consists of finding all q pairs of rectangles such that one rectangle of the pair encloses the other. In this note we present an alternative algorithm to the one by Vaishnavi and Wood; while both techniques have worst-case running time O(nlog2n + q), ours uses optimal storage O(n) rather than O(nlog2n) of Vaishnavi and Wood. Our algorithm works entirely in-place and uses very conventional data structures.
Keywords:
本文献已被 ScienceDirect 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号