Title of article :
Separating bichromatic point sets by two disjoint isothetic rectangles
Author/Authors :
Moslehi, Z Department of Computer Engineering and IT - Amirkabir University of Technology, Tehran, Iran , Bagheri, A Department of Computer Engineering and IT - Amirkabir University of Technology, Tehran, Iran
Abstract :
Given a set P of red points and a set Q of blue points in the plane of total size n, we investigate the problem of finding two disjoint isothetic rectangles containing all the points of Q avoiding any points of P. Such rectangles are called two separating disjoint isothetic rectangles. We fi rst compute two separating disjoint axis-aligned rectangles in O(n log n) time. Then, we relax the axis-aligned constraint and report all combinatorially di erent two separating disjoint isothetic rectangles. To compute these rectangles, we introduce some events by rotating the coordinate system and process these events. Computing and processing all of the events are done in O(n^2 log n) time. Thus, our algorithm reports all combinatorially di erent separating rectangles in O(n^2 log n) time.
Keywords :
algorithm , Computational geometry , separability , bichromatic point sets , isothetic rectangles
Journal title :
Astroparticle Physics