Elsevier

Journal of Algorithms

Volume 5, Issue 2, June 1984, Pages 199-214
Journal of Algorithms

Optimal algorithms to compute the closure of a set of iso-rectangles

https://doi.org/10.1016/0196-6774(84)90027-0Get rights and content

Abstract

Three varieties of the closure of a set of iso-(oriented) rectangles, i.e., rectilin-early-oriented rectangles, are introduced. These are uni-directional, diagonal, and rectangular closure. First a strong decomposition theorem for diagonal closure in terms of uni-directional closure is proved. Then time and space optimal algorithms to compute uni-directional and diagonal closure, each running in O(nlogn) time and O(n) space, are described. An O(nlogn) time and space algorithm for rectangular closure is also described. The algorithm for diagonal closure has applications in database concurrency control: an O(nlogn) time and O(n) space algorithm for testing for safety and detecting deadlocks in locked transaction systems is obtained.

References (8)

There are more references available in the full text version of this article.

Cited by (24)

  • On the power of safe locking

    1990, Journal of Computer and System Sciences
  • Ortho-Convexity and its Generalizations

    1988, Machine Intelligence and Pattern Recognition
View all citing articles on Scopus

The work of the second author was partially supported by a Natural Sciences and Engineering Research Council of Canada Grant A-7700 and was carried out while visiting the University of Helsinki. Some of the work of the first author was conducted while visiting the University of Karlsruhe under the support of the Alexander von Humboldt Foundation. Some of the results were also presented in preliminary form at the ACM SIGACT-SIGMOD Conference on Principles of Database Systems, Los Angeles, March 1982.

View full text