On the union complexity of families of axis-parallel rectangles with a low packing number
Chaya Keller, Shakhar Smorodinsky

TL;DR
This paper establishes tight bounds on the union and level complexity of families of axis-parallel rectangles with low packing number, showing that complexity scales linearly with the number of rectangles and quadratically with the packing number.
Contribution
It provides the first tight bounds on union and level complexity for such rectangle families with low packing number.
Findings
Union complexity is at most O(n + p^2).
Level complexity is at most O(kn + k^2 p^2).
Both bounds are proven to be tight.
Abstract
Let R be a family of n axis-parallel rectangles with packing number p-1, meaning that among any p of the rectangles, there are two with a non-empty intersection. We show that the union complexity of R is at most O(n+p^2), and that the (<=k)-level complexity of R is at most O(kn+k^2p^2). Both upper bounds are tight.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsComputational Geometry and Mesh Generation · graph theory and CDMA systems · Digital Image Processing Techniques
On the Union Complexity of Families of Axis-Parallel Rectangles with a Low Packing Number
Chaya Keller Department of Mathematics, Ben-Gurion University of the NEGEV, Be’er-Sheva Israel. [email protected]. Research partially supported by Grant 635/16 from the Israel Science Foundation, the Shulamit Aloni Post-Doctoral Fellowship of the Israeli Ministry of Science and Technology, and by the Kreitman Foundation Post-Doctoral Fellowship.
Shakhar Smorodinsky Department of Mathematics, Ben-Gurion University of the NEGEV, Be’er-Sheva Israel. [email protected]. Research partially supported by Grant 635/16 from the Israel Science Foundation.
Abstract
Let be a family of axis-parallel rectangles with packing number , meaning that among any of the rectangles, there are two with a non-empty intersection. We show that the union complexity of is at most , and that the -level complexity of is at most . Both upper bounds are tight.
1 Introduction
For a finite family of geometric objects in the plane, the union complexity of (or, in short, the union complexity of ) is the number of vertices on the boundary , where a vertex is an intersection point of the boundaries of two objects .111Formally, the definition of the union complexity is slightly more complex: it is the total number of faces of all dimensions of the arrangement of the boundaries of the objects, which lie on the boundary of the union (see [1]). We use our simpler definition as in our context, both definitions are clearly equivalent up to a constant factor. More generally, for any , the -level complexity of is the number of vertices that are contained in the interior of at most elements of .
Bounding the union complexity of families of geometric objects is useful for analyzing the running time of various algorithms, and has applications to linear programming, robotics, molecular modeling, and many other fields. In particular, Clarkson and Varadarajan [5] showed that if the union complexity of a family of ranges with dimension is sufficiently close to , then has an -net of size smaller than . Smorodinsky [10] showed that bounds on the union complexity and on the level-1 complexity of families of geometric objects in the plane can be used in computing the proper chromatic number and the conflict-free chromatic number of the corresponding hypergraph. For more on union complexity, see the survey [1].
For several families of geometric objects, it was shown that the union complexity is asymptotically lower than the trivial bound. In particular, Kedem et al. [9] showed that the union complexity of any family of pseudo-discs in the plane is at most , and Alt et al. [2] and Efrat et al. [6] proved a similar bound for any family of fat wedges. An almost linear bound for families of -fat triangles was obtained by Ezra et al. [7].
For a general family of axis-parallel rectangles in the plane, the union complexity can be quadratic – e.g., if the family is an -by- grid of long and thin rectangles. However, one may note that such a family contains as many as pairwise disjoint sets. Hence, it is natural to ask whether any family of axis-parallel rectangles with a quadratic union complexity must contain a linear-sized sub-family whose elements are pairwise disjoint.
In this note we answer this question on the affirmative. We show that the union complexity of any family of axis-parallel rectangles is sub-quadratic if the packing number of the family is sub-linear. Recall that the packing number of , denoted , is if among any elements of , two have a non-empty intersection. Our main result is the following:
Theorem 1.1**.**
Let be a family of axis-parallel rectangles with packing number . Then for any , the -level complexity of is . In particular, the union complexity of is .
Both results are tight, as we show by an explicit example.222We note that our upper bound on the union complexity is not hereditary, in the sense that there may exist a sub-family of (of size ) whose union complexity is quadratic in its number of elements. Another non-hereditary bound on the union complexity, for specific families of discs in the plane, was obtained recently by Aronov et al. [3].
2 Proof of Theorem 1.1
The proof of Theorem 1.1 consists of several steps, and for convenience we divide them into separate subsections. We start with a few definitions and notations.
2.1 Definitions and Notations
Throughout this note, denotes a family of axis-parallel rectangles in the plane, and we assume that is in general position, meaning that no two rectangles have more than 4 common points (i.e., no two rectangles share a segment of the boundary; this implies that no three boundaries intersect at the same point). Put , so any rectangles in contain two with a non-empty intersection.
For any , the depth of , denoted , is the number of rectangles in that contain as an interior point. Let be the set of vertices (i.e., intersections of pairs of boundaries) of depth [math], and for , let be the set of vertices of depth at most . Of course, is the union complexity of and is the -level complexity of .
Intersection points of boundaries of two axis-parallel rectangles can be partitioned into four types, depicted in Figure 1. The type described in Figure 1(a) (in which the intersection point is the rightmost-upmost point of the intersection of the rectangles) will be called type L intersection. We denote by the set of all points of type in , and by the set of all points of type in .
For any intersection point of type , we denote by the rectangle to whose upper boundary belongs, and by the rectangle to whose right boundary belongs.
2.2 Partition of into floors
Let be the rectangle whose upper boundary is the lowest (i.e., has the smallest coordinate) among the rectangles in . If there are several such rectangles, we choose one of them arbitrarily. Denote by the horizontal line that contains the upper boundary of .
Define inductively a sequence as follows. Let be the rectangle whose upper boundary is the lowest between all elements of whose lower boundary is above . (Again, if there are several such rectangles, we pick one of them arbitrarily.) Denote by the horizontal line that contains the upper boundary of . Note that by the construction, the rectangles are pairwise disjoint. As , this implies that does not contain any rectangle whose lower boundary is above . Let be a horizontal line that lies above the upper boundaries of all the rectangles in (such a line clearly exists as is finite and all its rectangles are compact).
We now define the partition of into floors: we say that belongs to floor , , if the upper boundary of is above or contained in and lower than . We denote the set of all rectangles in floor () by . It is clear from the construction that is a partition of into pairwise disjoint families. In addition, we need the following observation:
Observation 2.1**.**
For any , if then . Furthermore, is the largest index such that intersects .
Proof.
Let . If the lower boundary of is above then by the definition of , the upper boundary of cannot lie strictly below , a contradiction. Hence, the lower boundary of is either below or on . As the upper boundary of is either on or above and also lower than , the assertion follows. ∎
Observation 2.1 implies that is pierced by the set of lines , meaning that each has a non-empty intersection with (at least) one of the lines. A similar argument shows that there exists a set of vertical lines (arranged in increasing order of the coordinate) that pierces . This set will be used, along with , in the sequel.
2.3 Classification of the intersection points of type
In what follows, we obtain an upper bound on , i.e., the number of intersection points of type and depth . (By symmetry, this will imply an upper bound on the -level complexity of .) As a preparation, we classify the intersection points of type .
Definition 2.2**.**
Let . Denote by the rightmost amongst the vertical lines in the set . We say that is -contributed.
For , we say that is -contributed if there exists such that is -contributed. Conversely, for , we say that is -contributed if there exists such that is -contributed (see Figure 2(a)).
Observation 2.3**.**
For any given , and for any , there exists at most one point with that is -contributed. 2. 2.
It may be that that is -contributed but (see Figure 2(b)).
Definition 2.4**.**
An -contributed point is called an inner contribution of if there exist points and lines , such that:
- •
* is -contributed and is -contributed, and*
- •
* lies strictly between and . (Note that all of belong to the upper boundary of . This induces a natural ordering between them.)*
If there are no such points, is called an extremal contribution of (see Figure 2(c)).
The following observation is crucial in the sequel.
Observation 2.5**.**
Let be an -contributed intersection point. If is an inner contribution of , then intersects both and .
Proof.
Denote the vertical lines that contain the left and right boundaries of by and , respectively. Note that if for some there exists an -contributed point , then the line must lie to the right of (as otherwise, must intersect for some , contradicting the assumption that is contributed by ). On the other hand, must lie to the left of , since it intersects and the right boundary of is to the left of (as the intersection point is of type , see Figure 1(a)).
In our case, as is an inner contribution of , there exist some and points such that is -contributed and is -contributed. By the previous paragraph, the former implies that lies to the right of while lies to the left of . As , this implies that both and lie to the right of and to the left of , and thus, both intersect , as asserted. ∎
2.4 Upper bound on ‘inner contributions’ to the -level complexity of
In this subsection we obtain an upper bound on the number of elements of that are inner contributions, by considering pairs of the form (Floor , vertical line ) separately, and for each such pair, upper bounding the number of -contributed points for that are inner contributions.
Proposition 2.6**.**
For and , let
[TABLE]
(Informally, is the set of all contributions to the level complexity, that are contributed by on the ’th floor in an ‘inner’ way). Then for all ,
[TABLE]
Proof.
Fix . Define, for any ,
[TABLE]
(Informally, is the set of all rectangles on the ’th floor, whose upper edge contains an inner contribution to the level complexity, contributed by .) Denote , and let the elements of be ordered in descending order of the height of the upper boundary, as demonstrated in Figure 3. (So, is the rectangle whose upper boundary is the highest, ’s upper boundary is the second highest, etc.. Note that equality cannot occur here as by Observation 2.5, any intersects both and , and so, if two of these rectangles had upper boundaries of the same height, they would share part of the boundary, contradicting the assumption that the elements of are in general position.)
For each , denote
[TABLE]
Note that we have
[TABLE]
Let . We claim that for each , is an interior point of . To see this, we need several simple observations.
Any -contributed lies between the lines (inclusive) and (non-inclusive). Indeed, as lies on the right boundary of and intersects , must lie either on or to the right of . On the other hand, if lies on or on the right of , then must intersect for some , a contradiction. 2. 2.
Any such lies above or on the line , since it belongs to the upper boundary of . 3. 3.
Each of the rectangles intersects by Observation 2.1, and intersects both and by Observation 2.5.
By the simple observations, for each , the rectangle intersects , and , and its upper boundary lies above (since lies on the upper boundary of ). As lies between the lines and and above , it follows that is an interior point of .
Now, arrange the elements of in descending order of the coordinate (i.e., is the rightmost one, is the second-to-right, etc. Such an ordering is possible, since all elements of belong to the upper boundary of ). For each , intersects (since is -contributed). Thus, is included in the interior of for any . In addition, for any , all elements of are interior points of . Therefore, for any , we have . As all points in are of depth , this implies for any . Summing over all values of and using (2), we obtain
[TABLE]
as asserted. ∎
2.5 Finalizing the proof of Theorem 1.1
Now we are ready to prove Theorem 1.1. Actually, we prove the following exact version of the theorem:
Theorem 2.7**.**
Let be a family of axis-parallel rectangles with . For any , the -level complexity of is at most . In particular, the union complexity of is at most .
Proof.
By symmetry considerations, the -level complexity of is at most , so it is sufficient to prove
[TABLE]
We prove (4) by upper bounding the inner contributions and the extremal contributions separately.
Inner contributions. By Proposition 2.6, for each , the number of inner contributions that correspond to and is at most . For , any -contributed is an extremal contribution. Hence, the number of inner contributions that correspond to is at most , and so, the total number of inner contributions is at most .
Extremal contributions. Let . By the definition of inner and extremal contributions, all -contributed points that are extremal contributions belong to one of two vertical lines. By Observation 2.3, for any single pair , contains at most -contributed points. Therefore, the number of -contributed points that are extremal contributions is at most . It follows that the total number of extremal contributions is at most . This completes the proof. ∎
Remark 2.8**.**
If one is interested in the -level complexity of (instead of the -level complexity we treat), the same proof method can be used to show that it is at most , and that this is tight for the example presented in Figure 4 below.
Remark 2.9**.**
We note that an alternative way to prove Theorem 1.1 is to first obtain an upper bound on the union complexity of and then deduce an upper bound on the -level complexity by the classical technique of Clarkson and Shor [4]. We preferred to treat the -level complexity directly, as this allows obtaining the slightly better exact result of Theorem 2.7 with almost the same effort.
3 Tightness of Theorem 1.1
In this section we present a family of axis-parallel rectangles with whose -level complexity is , thus showing that Theorem 1.1 is tight (up to a constant factor).
The family , presented in Figure 4, is a disjoint union of two subfamilies of rectangles each.
The subfamily drawn in the left of the figure consists of a sequence of pairwise-intersecting rectangles in which each rectangle is taller and thinner than its successor. This subfamily contributes points to the -level complexity of .
The subfamily drawn in the right of the figure is based on an -by- grid of long thin rectangles. We replace each rectangle in the basic grid with nested copies to obtain a family of rectangles (for simplicity, we assume ; note that only the basic grid is depicted in the figure). This subfamily contributes points to the -level complexity of .
Hence, the -level complexity of is , as asserted.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] P. K. Agarwal, J. Pach and M. Sharir, State of the union, of geometric objects: A review, in Proc. Joint Summer Research Conf. on Discrete and Computational Geometry: 20 Years Later, Contemp. Math. 452 (2008), AMS, pp. 9–48.
- 2[2] H. Alt, R. Fleischer, M. Kaufmann, K. Mehlhorn, S. Näher, S. Schirra, and C. Uhrig, Approximate motion planning and the complexity of the boundary of the union of simple geometric figures, Algorithmica 8 (1992), pp. 391-–406.
- 3[3] B. Aronov, M. Dulieu, R. Pinchasi, and M. Sharir, On the union complexity of diametral disks, Electr. J. Comb. 20(2) (2013), P 53.
- 4[4] K. L. Clarkson and P. W. Shor, Applications of random sampling in computational geometry, II, Disc. Comput. Geom. 4 (1989), pp. 387-–421.
- 5[5] K. L. Clarkson and K. Varadarajan, Improved approximation algorithms for geometric set covers, Disc. Comput. Geom. 37 (2007), pp. 43-–58.
- 6[6] A. Efrat, G. Rote, and M. Sharir. On the union of fat wedges and separating a collection of segments by a line, Comput. Geom. Theory Appl. 3 (1993), pp. 277-–288.
- 7[7] E. Ezra, B. Aronov, and M. Sharir, Improved bound for the union of fat triangles, proceedings of SODA’2011, pp. 1778–1785.
- 8[8] H. Hadwiger and H. Debrunner, Über eine Variante zum Helly’schen Satz, Arch. Math. , 8 (1957), pp. 309-–313.
