This paper was converted on www.awesomepapers.org from LaTeX by an anonymous user.
Want to know more? Visit the Converter page.

Conflict-Free Coloring of Intersection Graphs111This work was partially supported by the DFG Research Unit ”Controlling Concurrent Change”, funding number FOR 1800, project FE407/17-2, ”Conflict Resolution and Optimization”.

Sándor P. Fekete Algorithms Group, TU Braunschweig, Germany
s.fekete,p.keldenich@tu-bs.de
Phillip Keldenich Algorithms Group, TU Braunschweig, Germany
s.fekete,p.keldenich@tu-bs.de
Abstract

A conflict-free kk-coloring of a graph G=(V,E)G=(V,E) assigns one of kk different colors to some of the vertices such that, for every vertex vv, there is a color that is assigned to exactly one vertex among vv and vv’s neighbors. Such colorings have applications in wireless networking, robotics, and geometry, and are well studied in graph theory. Here we study the conflict-free coloring of geometric intersection graphs. We demonstrate that the intersection graph of nn geometric objects without fatness properties and size restrictions may have conflict-free chromatic number in Ω(logn/loglogn)\Omega(\log n/\log\log n) and in Ω(logn)\Omega(\sqrt{\log n}) for disks or squares of different sizes; it is known for general graphs that the worst case is in Θ(log2n)\Theta(\log^{2}n). For unit-disk intersection graphs, we prove that it is NP-complete to decide the existence of a conflict-free coloring with one color; we also show that six colors always suffice, using an algorithm that colors unit disk graphs of restricted height with two colors. We conjecture that four colors are sufficient, which we prove for unit squares instead of unit disks. For interval graphs, we establish a tight worst-case bound of two.

1 Introduction

Coloring the vertices of a graph is one of the fundamental problems in graph theory, both scientifically and historically. The notion of proper graph coloring can be generalized to hypergraphs in several ways. One natural generalization is conflict-free coloring, which asks to color the vertices of a hypergraph such that every hyperedge has at least one uniquely colored vertex. This problem has applications in wireless communication, where “colors” correspond to different frequencies.

The notion of conflict-free coloring can be brought back to simple graphs, e.g., by considering as hyperedges the neighborhoods of the vertices of GG. The resulting problem arises in certain variants of frequency assignment problems if one is not interested in achieving signal coverage for all points in a region, but only at certain points of interest. For an illustration, consider a scenario in which one has a given set of nodes in the plane and wants to establish a communication network between them. Moreover, assume that constructing nodes at new locations is either very expensive or forbidden, and one can only “upgrade” any existing node to a wireless base station.

Conflict-free coloring also plays a role in robot navigation, where different beacons are used for providing direction. To this end, it is vital that in any given location, a robot is adjacent to a beacon with a frequency that is unique among the ones that can be received.

Both in the frequency assignment setting and in the robot navigation setting, one typically wants to avoid placing unnecessary base stations or beacons. Abstractly speaking, this corresponds to leaving some vertices uncolored, yielding the following formalization of conflict-free coloring of graphs. For any vertex vVv\in V of a simple graph G=(V,E)G=(V,E), the neighborhood N[v]N[v] consists of all vertices adjacent to vv and vv itself. A conflict-free kk-coloring of GG assigns one of kk colors to a (possibly proper) subset SVS\subseteq V of vertices such that every vertex vVv\in V has a uniquely colored neighbor. The conflict-free chromatic number χCF(G)\chi_{CF}(G) of GG is the smallest kk for which a conflict-free coloring exists. Depending on the situation it may also be more natural to consider open neighborhood conflict-free coloring, where each vertex vv must have a uniquely colored neighbor in its open neighborhood N(v)N(v) not including vv.

Conflict-free coloring has received an increasing amount of attention. Because of the motivation arising from frequency assignment, it is natural to investigate the conflict-free coloring of intersection graphs, in particular, of simple shapes such as disks or squares. In addition, previous work has considered either general graphs and hypergraphs (e.g., see [27]) or other geometric scenarios in the presence of obstacles (e.g., see [20]); we give a more detailed overview further down. This adds to the relevance of conflict-free coloring of intersection graphs, which lie in the intersection of general graphs and geometry.

There is a spectrum of different scientific challenges when studying conflict-free coloring. What are worst-case bounds on the necessary number of colors? When is it NP-hard to determine the existence of a conflict-free kk-coloring? We address these questions for the case of intersection graphs.

Our contribution. We present the following results.

  • We demonstrate that nn geometric objects without fatness properties and size restrictions may induce intersection graphs with conflict-free chromatic number in Ω(logn/loglogn)\Omega(\log n/\log\log n).

  • We prove that non-unit square and disk graphs may require Ω(logn)\Omega(\sqrt{\log n}) colors. Deciding conflict-free kk-colorability is NP-hard for any kk for these graph classes.

  • It is NP-complete for unit-disk intersection graphs to decide the existence of a conflict-free coloring with one color. The same holds for intersection graphs of unit squares and other shapes.

  • Six colors are always sufficient for conflict-free coloring of unit disks. This uses an algorithm that colors unit disk graphs contained in a strip of restricted height with two colors.

  • Using a similar argument, we prove that four colors are always sufficient for conflict-free coloring of unit squares.

  • As a corollary, we get a tight worst-case bound of two on the conflict-free chromatic number of interval graphs.

Related work. In the geometric context, motivated by frequency assignment problems, the study of conflict-free coloring of hypergraphs was initiated by Even et al. [15] and Smorodinsky [28]. For disk intersection hypergraphs, Even et al. [15] prove that 𝒪(logn)\mathcal{O}(\log n) colors suffice. For disk intersection hypergraphs with degree at most kk, Alon and Smorodinsky [4] show that 𝒪(log3k)\mathcal{O}(\log^{3}k) colors are sufficient. Cheilaris et al. [10] prove that 𝒪(logn)\mathcal{O}(\log n) colors suffice for the case of hypergraphs induced by planar Jordan regions with linear union complexity. If every edge of a disk intersection hypergraph must have kk distinct unique colors, Horev et al. [21] prove that 𝒪(klogn)\mathcal{O}(k\log n) suffice. Moreover, for unit disks, Lev-Tov and Peleg [24] present an 𝒪(1)\mathcal{O}(1)-approximation algorithm for the conflict-free chromatic number. Abam et al. [1] consider the problem of making a conflict-free coloring robust against removal of a certain number of vertices, and prove worst-case bounds for the number of colors required. The online version of the problem has been studied as well; see, e.g., the work of Chen et al. [12] that presents, among other results, a randomized online algorithm using 𝒪(logn)\mathcal{O}(\log n) colors to maintain a conflict-free coloring of a set of intervals, or the work of Bar-Nov et al. [6] that presents an online algorithm using 𝒪(klogn)\mathcal{O}(k\log n) colors for some classes of kk-degenerate hypergraphs.

The dual problem in which one has to color a given set of points such that each region contains a uniquely colored point has also received some attention. Har-Peled and Smorodinsky [19] prove that for families of pseudo-disks, every set of points can be colored using 𝒪(logn)\mathcal{O}(\log n) colors. For rectangles, Ajwani et al. [3] show that 𝒪(n0.382)\mathcal{O}(n^{0.382}) colors suffice, whereas Elbassioni and Mustafa [14] show that it is possible to add a sublinear number of points such that sublinearly many colors suffice. For coloring points on a line with respect to intervals, Cheilaris et al. [9] present a 2-approximation algorithm, and a (52k)\left(5-\frac{2}{k}\right)-approximation algorithm when every interval must contain kk uniquely colored points.

In general hypergraphs, i.e., hypergraphs not necessarily arising from a geometric context, Ashok et al. [5] prove that maximizing the number of conflict-freely colored hyperedges is FPT with respect to the number of conflict-freely colored hyperedges in the solution.

Conflict-free coloring also arises in the context of the conflict-free variant of the chromatic Art Gallery Problem, which asks to guard a polygon using colored guards such that each point sees a uniquely colored guard. Fekete et al. [16] prove that computing the chromatic number is NP-hard in this context. On the positive side, Hoffman et al. [20] prove Θ(loglogn)\Theta(\log\log n) colors are sometimes necessary and always sufficient for the conflict-free chromatic art gallery problem under rectangular visibility in orthogonal polygons. For straight-line visibility, Bärtschi et al. [8] prove that 𝒪(logn)\mathcal{O}(\log n) colors suffice for orthogonal and monotone polygons and 𝒪(log2n)\mathcal{O}(\log^{2}n) colors suffice for simple polygons. This is generalized by Bärtschi et al. [7], who prove that 𝒪(logn)\mathcal{O}(\log n) colors suffice for simple polygons.

There also has been work regarding the scenario where the hypergraph is induced by the neighborhoods of vertices of a simple graph. Except for the need to color all vertices, this corresponds to the scenario considered in this work. This does not change the asymptotic number of colors required, since it suffices to insert one additional color to color all vertices that would otherwise remain uncolored. In this situation, Pach and Tardos [27] prove that the conflict-free chromatic number of an nn-vertex graph is in 𝒪(log2n)\mathcal{O}(\log^{2}n). Glebov et al. [18] extend this result by proving that almost all G(n,ω(1/n))G(n,\omega(1/n))-graphs have conflict-free chromatic number 𝒪(logn)\mathcal{O}(\log n). Moreover, they show that the upper bound of Pach and Tardos [27] is tight by giving a randomized construction for graphs having conflict-free chromatic number Θ(log2n)\Theta(\log^{2}n). In more recent work, Gargano and Rescigno [17] show that finding the conflict-free chromatic number for general graphs is NP-complete, and prove that the problem is FPT w.r.t. vertex cover or neighborhood diversity number. In our work with Abel et al. [2], we consider conflict-free coloring of general and planar graphs and proved a conflict-free variant of Hadwiger’s conjecture, which implies that planar graphs have conflict-free chromatic number at most three. Most recently, Keller and Smorodinsky [23] consider conflict-free coloring on intersection graphs of geometric objects, in a scenario very similar to ours. Among other results, they prove that 𝒪(logn)\mathcal{O}(\log n) colors suffices to color a family \mathcal{F} of pseudodisks in a conflict-free manner. With respect to open neighborhoods (also known as pointed neighborhoods), they prove that this is tight; for closed neighborhoods as studied in this paper, the tightness of this bound is not proven and remains open. They also consider the list coloring variant of the problem.

Conflict-free coloring has also been studied for other graph-based hypergraphs. For instance, Cheilaris and Tóth [11] consider the case of hypergraphs induced by the paths of a graph. If the input is the graph, they prove that it is coNP-complete to decide whether a given coloring is conflict-free.

Conflict-free coloring is not the only type of coloring for which unit disk graphs have been found to require a bounded number of colors. In their recent work, McDiarmid et al. [25] consider clique coloring of unit disk graphs, in particular with regard to the asymptotic behavior of the clique chromatic number of random unit disk graphs. They also prove that every unit disk graph in the plane can be colored with nine colors, while three colors are sometimes necessary. Similar to the present paper, they prove this by cutting the plane into strips of height 3\sqrt{3}; for each of these strips it is then proven that three colors suffice.

2 Preliminaries

In the following, G=(V,E)G=(V,E) denotes a graph on n:=|V|n:=|V| vertices. For a vertex vv, N(v)N(v) denotes its open neighborhood and N[v]=N(v){v}N[v]=N(v)\cup\{v\} denotes its closed neighborhood. A conflict-free kk-coloring of a graph G=(V,E)G=(V,E) is a coloring χ:V{1,,k}\chi:V^{\prime}\to\{1,\ldots,k\} of a subset VVV^{\prime}\subseteq V of the vertices of GG, such that each vertex vv has at least one conflict-free neighbor uN[v]u\in N[v], i.e., a neighbor uu whose color χ(u)\chi(u) occurs only once in N[v]N[v]. The conflict-free chromatic number χCF(G)\chi_{CF}(G) is the minimum number of colors required for a conflict-free coloring of GG.

A graph GG is a disk graph iff GG is the intersection graph of disks in the plane. GG is a unit disk graph iff GG is the intersection graph of disks with fixed radius r=1r=1 in the plane, and a unit square graph iff GG is the intersection graph of axis-aligned squares with side length 1 in the plane. A unit disk (square) graph is of height hh iff GG can be modeled by the intersection of unit disks (squares) with center points in (,)×[0,h](-\infty,\infty)\times[0,h]. In the following, when dealing with intersection graphs, we assume that we are given a geometric model. In the case of unit disk and unit square graphs, we identify the vertices of the graph with the center points of the corresponding geometric objects in this model.

3 General Objects

Intersection graphs of geometric objects can generally contain cliques of arbitrary size, so their chromatic number may be unbounded. However, cliques do not require a large number of colors in a conflict-free coloring, so it is not immediately clear whether the intersection graphs for a family of geometric objects have bounded conflict-free chromatic number.

If the intersecting objects can be scaled down arbitrarily, i.e., if every representable graph can be represented using arbitrarily small area, we can make use of the following lemma to prove lower bounds on the number of colors required.

Lemma 1.

Let GkG_{k} be a graph with χCF(Gk)k\chi_{CF}(G_{k})\geq k, and let GG be a graph containing two disjoint copies Jk1J_{k}^{1} and Jk2J_{k}^{2} of GkG_{k}. Let v1,,vlv_{1},\ldots,v_{l} be vertices of GG, not contained in Jk1J_{k}^{1} or Jk2J_{k}^{2}, and let each vertex viv_{i} be adjacent to every vertex of Jk1J_{k}^{1} and Jk2J_{k}^{2}. Moreover, let these vertices be the only neighbors of Jk1J_{k}^{1} and Jk2J_{k}^{2}. Then in every conflict-free kk-coloring of GG, one of the vertices v1,,vlv_{1},\ldots,v_{l} has a color that appears only once in v1,,vlv_{1},\ldots,v_{l}.

Proof.

Assume there was a conflict-free kk-coloring χ\chi of GG such that none of the vertices v1,,vlv_{1},\ldots,v_{l} has a unique color. Therefore, each vertex in Jk1J_{k}^{1} has a conflict-free neighbor in Jk1J_{k}^{1}, and restricting χ\chi to V(Jk1)V(J_{k}^{1}) yields a conflict-free kk-coloring of Jk1J_{k}^{1}. As χCF(Gk)k\chi_{CF}(G_{k})\geq k, each color is used on V(Jk1)V(J_{k}^{1}) at least once. The same holds for Jk2J_{k}^{2}. Therefore, each vertex v1,,vlv_{1},\ldots,v_{l} has at least two occurrences of each color in its neighborhood; this contradicts the fact that χ\chi is a conflict-free coloring of GG. ∎

For general objects like freely scalable ellipses or rectangles, it is possible to model a complete graph KnK_{n} of arbitrary size nn, such that the following conditions hold: (1) For every object vv, there is some non-empty area of vv not intersecting any other objects. (2) For every pair of objects v,wv,w, there is a non-empty area common to these objects not intersecting any other objects. This can be seen by choosing nn intersecting lines such that no three lines intersect in a common point. These lines can then be approximated using sufficiently thin objects to achieve the desired configuration.

In this case, the conflict-free chromatic number is unbounded, because we can inductively build a family GnG_{n} of intersection graphs with χC(Gn)=n\chi_{C}(G_{n})=n as follows. Starting with G1=({v},)G_{1}=(\{v\},\emptyset) and G2=C4G_{2}=C_{4} (a four-vertex cycle), we construct GnG_{n} by starting with a KnK_{n} modeled according to conditions (1) and (2). For every object vv, we place two scaled-down non-intersecting copies of Gn1G_{n-1} into an area covered only by vv; Figure 1 depicts the construction of G5G_{5} for ellipses. According to Lemma 1, these gadgets enforce that every vertex of the underlying KnK_{n} is colored. For every pair of objects v,wv,w, we place two scaled-down non-intersecting copies of Gn2G_{n-2} into an area covered only by vv and ww. Using an argument similar to that used in the proof of Lemma 1, these gadgets enforce that vv and ww have to receive different colors. Thus the resulting graph requires nn colors.

Refer to caption
Figure 1: The graph G5G_{5}, shown as an intersection graph of ellipses, requires 5 colors.

The number of vertices used by this construction satisfies the recurrence

|G1|=1,|G2|=4,|Gn|=n+2n|Gn1|+n(n1)|Gn2|.|G_{1}|=1,\quad|G_{2}|=4,\quad|G_{n}|=n+2n|G_{n-1}|+n(n-1)|G_{n-2}|.

To estimate the growth of |Gn||G_{n}|, let G¯n=|Gn|\bar{G}_{n}=|G_{n}| for n2n\leq 2 and G¯n=3nG¯n1+n(n1)G¯n2\bar{G}_{n}=3n\bar{G}_{n-1}+n(n-1)\bar{G}_{n-2}; clearly, G¯n|Gn|\bar{G}_{n}\geq|G_{n}| for all nn. The recurrence G¯n\bar{G}_{n} has the closed-form solution

G¯n\displaystyle\bar{G}_{n} =\displaystyle= n!132n+1((51313)(3+13)n(13+513)(313)n)\displaystyle\frac{n!}{13\cdot 2^{n+1}}\cdot\Big{(}(5\sqrt{13}-13)(3+\sqrt{13})^{n}-(13+5\sqrt{13})(3-\sqrt{13})^{n}\Big{)}
=\displaystyle= 𝒪(n!(3+132)n),\displaystyle\mathcal{O}\left(n!\left(\frac{3+\sqrt{13}}{2}\right)^{n}\right),

implying that the number of colors required in geometric intersection graphs on nn vertices may be Ω(lognloglogn).\Omega(\frac{\log n}{\log\log n}).

We summarize.

Theorem 2.

The intersection graph of nn convex objects in the plane may have conflict-free chromatic number in Ω(logn/loglogn)\Omega(\log n/\log\log n).

The best upper bound on the number of colors required in this scenario that we are aware of is 𝒪(log2n)\mathcal{O}(\log^{2}n), which holds for general graphs and is due to Pach and Tardos [27].

4 Different-Sized Squares and Disks

Due to their fatness, squares and disks do not allow us to construct an arbitrarily big clique KnK_{n} such that condition (2) of Section 3 holds. However, we can still prove that there is no constant bound on their conflict-free chromatic number. The proof is based on Lemma 1, which enables us to reduce the conflict-free coloring problem on intersection hypergraphs to our problem.

Theorem 3.

The conflict-free chromatic number of disk intersection graphs and square intersection graphs can be Ω(logn)\Omega(\sqrt{\log n}).

Proof.

We begin our proof by inductively constructing, for any number of colors kk, a disk intersection graph DkD_{k} with conflict-free chromatic number χCF(Dk)=k\chi_{CF}(D_{k})=k and 𝒪(22k2)\mathcal{O}(2^{2k^{2}}) vertices. The first level of the construction is D1D_{1}, consisting of an isolated vertex. The remainder of the construction is based on a lower-bound example due to Even et al. [15], requiring Ω(logn)\Omega(\log n) colors when each point in the union of all disks must lie in a uniquely colored disk. This lower-bound example consists of chain disks 1,,2k11,\ldots,2^{k-1} on a horizontal line segment, placed such that all disks overlap in the center. For each interval [i,j][i,j], 1ij2k11\leq i\leq j\leq 2^{k-1}, there is one region with non-zero area in which exactly the disks from this interval overlap. This situation is depicted in Figure 2.

Refer to caption
Figure 2: A chain of length 4 using either disks or squares, requiring 3 colors in every conflict-free hypergraph coloring. Adding two copies of D2D_{2} to every interval yields a disk intersection graph that requires 3 colors in any conflict-free coloring.

To construct DkD_{k}, for each such interval [i,j][i,j], we choose one such region and place two scaled-down disjoint copies of Dk1D_{k-1} in it. We prove that DkD_{k} requires kk colors by induction on kk. That D1D_{1} requires one color is clear. Given that Dk1D_{k-1} requires k1k-1 colors for some k2k\geq 2, we can prove that DkD_{k} requires kk colors as follows. Assume there was a conflict-free (k1)(k-1)-coloring χ\chi of DkD_{k}. Due to Lemma 1, we know that, for every interval [i,j][i,j], 1ij2k11\leq i\leq j\leq 2^{k-1}, at least one of the chain disks in [i,j][i,j] has a unique color. We now prove using induction that any color assignment with this property has at least kk colors. For a chain of length 202^{0}, one color is required for the interval [1,1][1,1]. For a chain of length 2l2^{l}, we require one unique color for the interval [1,2l][1,2^{l}]. Let ii be the chain disk colored using this color. At least one of the intervals [1,i1],[i+1,2l][1,i-1],[i+1,2^{l}] has length at least 2l12^{l-1}. By induction, this interval requires ll colors. These colors must all be distinct from the color used for ii, therefore forcing us to use l+1l+1 colors in total. This contradicts the fact that χ\chi uses only k1k-1 colors; therefore, χCF(Dk)k\chi_{CF}(D_{k})\geq k. The number of vertices used by DkD_{k} satisfies the recurrence

|D1|=1,|Dk|=2k1+2k1(2k1+1)2|Dk1|=2k1+(22k3+2k2)|Dk1|,|D_{1}|=1,\quad|D_{k}|=2^{k-1}+\frac{2^{k-1}(2^{k-1}+1)}{2}|D_{k-1}|=2^{k-1}+(2^{2k-3}+2^{k-2})|D_{k-1}|,

which is in 𝒪(22k2)\mathcal{O}(2^{2k^{2}}). All our arguments can also be applied to squares instead of disks. ∎

Theorem 4.

For any fixed number of colors kk, deciding whether a disk (or square) intersection graph is conflict-free kk-colorable is NP-complete.

Proof.

Conflict-free coloring of disk intersection graphs is clearly in NP. We prove NP-hardness inductively by reducing conflict-free (k1)(k-1)-colorability to conflict-free kk-colorability. For k=1k=1, NP-hardness follows from Theorem 5. In order to reduce (k1)(k-1)-colorability to kk-colorability, consider a graph GG for which conflict-free (k1)(k-1)-colorability is to be decided. We construct a graph HH that is conflict-free kk-colorable iff GG is conflict-free (k1)(k-1)-colorable. For the sake of simplicity, we will refer to the disk representation of GG and HH in the description of our construction; however, the construction does not require this representation unless a disk representation of HH is desired. We start construction of HH with a chain H1H_{1} of length 2k2^{k}. For every interval [i,j],1ij2k[i,j],1\leq i\leq j\leq 2^{k}, the hypergraph H1H_{1} contains a corresponding hyperedge. By the argument used in the proof of Theorem 3, in a conflict-free hypergraph coloring of H1H_{1}, k+1k+1 colors are required. For each 1i2k1\leq i\leq 2^{k}, we choose a region corresponding to the interval [i,i][i,i] and place two disjoint copies of GG inside. For all other intervals [i,j],ij[i,j],i\neq j, we choose a region corresponding to the interval and place one copy of GG inside; see Figure 3.

Refer to caption
Figure 3: The setup of the reduction for k=2k=2 colors. If GG is conflict-free 11-colorable, every copy of GG can be colored using just color 22. Every chain disk can then receive a conflict-free neighbor for instance by coloring one of the chain disks with color 11.

If GG is conflict-free (k1)(k-1)-colorable, HH is conflict-free kk-colorable as follows. Each copy of GG can be colored using colors {2,,k}\{2,\ldots,k\} in a conflict-free manner. In order to give each chain vertex a conflict-free neighbor, in one of the two copies of GG in interval [i,i][i,i], we can color an arbitrary vertex of GG with color 11.

If GG is not conflict-free (k1)(k-1)-colorable, by Lemma 1 we have to color all chain vertices. Given such a coloring of the chain vertices, there are two possibilities for each interval [i,j],1i<j2k[i,j],1\leq i<j\leq 2^{k}. (1) The chain vertices corresponding to the interval are colored such that there is a uniquely colored vertex. (2) Every color occurring on the corresponding chain vertices occurs more than once.

As H1H_{1} does not have a conflict-free hypergraph kk-coloring, case (2) must occur for at least one interval [i,j][i,j]. Let GG^{\prime} be the copy of GG placed in [i,j][i,j]. Vertices in GG^{\prime} cannot use the chain vertices as conflict-free neighbors. Moreover, at least one color already appears twice in the neighborhood of every vertex of GG^{\prime} and thus cannot be the color of a conflict-free neighbor of any vertex in GG^{\prime}. Therefore a conflict-free kk-coloring of HH would yield a conflict-free (k1)(k-1)-coloring of GG, which is a contradiction.

For fixed kk, this construction works in polynomial time. Therefore, conflict-free kk-coloring of disk intersection graphs is NP-complete for any fixed k1k\geq 1. All our arguments can also be applied to squares instead of disks. ∎

In [15], Even et al. prove that Θ(logn)\Theta(\log n) colors are always sufficient and sometimes necessary to color a disk intersection hypergraph in a conflict-free manner. This implies that 𝒪(logn)\mathcal{O}(\log n) colors are sufficient in our case, leaving a gap of 𝒪(logn)\mathcal{O}(\sqrt{\log n}).

5 Unit-Disk Graphs

The construction used in the previous section hinges on high aspect ratios of the intersecting shapes. In the setting of frequency assignment for radio transmitters, it is natural to only consider fat objects with bounded aspect ratio, such as unit disks and unit squares. As it turns out, their intersection graphs have conflict-free chromatic number bounded by a small constant; on the other hand, even deciding the existence of a conflict-free coloring with a single color is NP-complete.

5.1 Complexity: One Color

While it is trivial to decide whether a graph has a regular chromatic number of 1 and straightforward to check a chromatic number of 2, it is already NP-complete to decide whether a conflict-free coloring with a single color exists, even for unit-disk intersection graphs. This is a refinement of Theorem 4.1 in Abel et al. [2], which shows the same results for general planar graphs.

Theorem 5.

It is NP-complete to decide whether a unit-disk intersection graph G=(V,E)G=(V,E) has a conflict-free coloring with one color.

Proof.

Membership in NP is straightforward. We prove NP-hardness by reduction from Positive Planar 1-in-3-SAT, see Mulzer and Rote [26]. Given a Boolean formula ϕ\phi in 3-CNF with only positive literals and planar clause-variable incidence graph, we construct a unit disk intersection graph G(ϕ)G(\phi) that has a conflict-free 11-coloring iff ϕ\phi is 1-in-3-satisfiable. Let ϕ\phi consist of variables {x1,,xn}\{x_{1},\ldots,x_{n}\} and clauses {c1,,ck}\{c_{1},\ldots,c_{k}\}. In G(ϕ)G(\phi), variables xix_{i} are represented by a cycle of length 12k12k and clauses are represented by a clause gadget; see Figure 4.

Refer to caption
Figure 4: (Left) Clause gadget represented using unit disks and unit squares. The clause vertices that are attached to the remainder of G(ϕ)G(\phi) are drawn with bold outline. Dashed objects depict where the connections to the variables attach to the clause vertex. Orange vertices must be colored in any conflict-free 11-coloring; therefore, the clause vertex must remain uncolored. (Right) A variable gadget. True vertices, i.e., vertices that are colored if the variable is set to true are drawn with bold outline. In a conflict-free coloring of a variable gadget, every third vertex along the cycle must be colored. This implies that we must color either all true vertices or none of them.

The clause gadgets have distinguished clause vertices. Every third vertex of a variable gadget is a true vertex; these are the vertices that are colored if the corresponding variable is set to true. We connect the clause vertex of each clause to a true vertex of each variable occurring in the clause using paths of length divisible by 3. There are sufficiently many true vertices in each variable gadget to avoid having to use a true vertex for more than one clause.

A clause vertex cc cannot be colored and cannot have a conflict-free neighbor in the clause gadget. Its neighbors d1,d2,d3d_{1},d_{2},d_{3} along the paths connecting cc to variables require conflict-free neighbors themselves. Therefore either did_{i} must be colored itself or its predecessor pip_{i} on the path must be colored. Along the path to the variable, every third vertex must be colored, starting with either did_{i} or pip_{i}. Thus it is only possible to color did_{i} if the true vertices of the corresponding variable are colored; pip_{i} can only be colored if the true vertices of the corresponding variable are not colored, see Figure 5.

Refer to caption
Figure 5: Path connecting a variable to a clause vertex cc (with dashed clause gadget). The vertices marked t and f are true and false vertices of a variable. Blue vertices are colored if the variable is set to true, red vertices are colored if the variable is set to false. Gray vertices cannot be colored. For cc, this is enforced directly by the clause gadget; for the other vertices along the path, it follows from the fact that the clause vertex cannot be colored.

In a conflict-free 11-coloring χ\chi of G(ϕ)G(\phi), each clause vertex has a conflict-free neighbor. This implies that for each clause cjc_{j}, exactly one of the vertices d1,d2,d3d_{1},d_{2},d_{3} is colored, which in turn implies that exactly one variable gadget connected to cjc_{j} has all its true vertices colored. Therefore setting the variables that have all their true vertices colored to true yields a 1-in-3-satisfying assignment for ϕ\phi. Analogously, a 1-in-3-satisfying assignment for ϕ\phi induces a conflict-free 11-coloring of G(ϕ)G(\phi).

We still have to argue that G(ϕ)G(\phi) is a unit disk graph that can be constructed in polynomial time. We consider a straight-line embedding of ϕ\phi’s clause-variable incidence graph with vertices placed on an 𝒪(n+k)×𝒪(n+k)\mathcal{O}(n+k)\times\mathcal{O}(n+k) integer grid; such an embedding can be obtained in polynomial time based on the graph-drawing techniques of Fraysseix, Pach and Pollack [13]. We enlarge this embedding by an appropriate polynomial factor to ensure that clauses and variables are far enough from each other and edges do not come too close to gadgets they are not incident to. We use the embedding of the variables and clauses to place the center of variables gadgets (marked by a cross in Figure 4) and clause vertices accordingly. The edges between variables and clauses can then be replaced by paths; we can ensure that their length is divisible by 3 by simple local modifications (shifting a constant number of disks closer to each other and inserting a constant number of new disks). When deciding which true vertex to use for a clause and where to place the disk adjacent to the clause vertex, we preserve the order of edges around the clause and variables vertices of the embedding. If multiple possible true vertices exist, we use a closest one. This excludes intersections between different paths close to variables and unintended intersections between paths and variable gadgets. We may have to bend the paths around the clause gadgets; however, for every clauses this involves only a constant number of disks. ∎

5.2 A Worst-Case Upper Bound: Six Colors

On the positive side, we show that the conflict-free chromatic number of unit disk graphs is bounded by six. We do not believe this result to be tight. In particular, we conjecture that the number is bounded by four; in fact, we do not even know an example for which two colors are insufficient. One of the major obstacles towards obtaining tighter bounds is the fact that a simple graph-theoretic characterization of unit disk graphs is not available, as recognizing unit disk graphs is complete for the existential theory of the reals [22]. This makes it hard to find unit disk graphs with high conflict-free chromatic number, especially considering the size that such a graph would require: The smallest graph with conflict-free chromatic number three we know has 30 vertices, and by enumerating all graphs on 12 vertices one can show that at least 13 vertices are necessary, even without the restriction to unit disk graphs.

One approach to conflict-free coloring of unit disk graphs is by subdividing the plane into strips, coloring each strip independently. We conjecture the following.

Conjecture 6.

Unit disk graphs of height 22 are conflict-free 22-colorable.

If this conjecture holds, every unit disk graph is conflict-free 4-colorable. In this case, one can subdivide the plane into strips of height 2, and then color the subgraphs in all even strips using colors {1,2}\{1,2\} and the subgraphs in odd strips using colors {3,4}\{3,4\}. Instead of Conjecture 6, we prove the following weaker result.

Theorem 7.

Unit disk graphs GG of height 3\sqrt{3} are conflict-free 2-colorable.

Proof.

Given a realization of GG consisting of unit disks with center points with yy-coordinate in [0,3][0,\sqrt{3}], we compute a conflict-free 2-coloring of GG using the following simple greedy approach. In an order corresponding to the lexicographic order of the points in 2\mathbb{R}^{2} (denoted by \leq), we build a set CC of colored vertices to which we alternatingly assign colors 1 and 2. In each step, we add a new point to CC until all points are covered, i.e., they are either colored or have a colored neighbor. In order to select the next colored point, we find the lexicographically maximal point cc such that every point c<cc^{\prime}<c is already colored or has a colored neighbor in C{c}C\cup\{c\}. We observe that this point cc may already have a colored neighbor, but then there must be an uncovered point between cc and previously colored point.

In this procedure, every point vv is assigned a colored neighbor wN[v]w\in N[v]. It remains to exclude the following three cases. (1) A colored point vv is adjacent to another point ww of the same color, (2) an uncolored point is adjacent to two or more points of one color and none of the other color, (3) an uncolored point is adjacent to two or more points of both colors.

To this end, we use the following observation. Each colored point cc induces a closed vertical strip of width 2 centered around cc. As shown in Figure 6, every point vv in this strip is adjacent to cc.

Refer to caption
Figure 6: (Left) Every colored point cc induces a vertical strip of width 2 (dashed lines); all points vv within this strip are adjacent to cc. (Right) The configuration in case (2); there must be a point uu of color 2 adjacent to vv.

Thus, the horizontal distance between two colored points must be greater than 1. For case (1), assume there was a point vv of color 1 adjacent to a point w>vw>v of color 1. This cannot occur, because between vv and ww, there must be a point xx of color 2; therefore, the horizontal distance between vv and ww must be greater than 2, a contradiction.

Regarding case (2), assume there was an uncolored point vv adjacent to two points w<v<ww^{\prime}<v<w of color 1; see Figure 6. Between points ww^{\prime} and ww, there must be a point uu of color 2, and vv must not be adjacent to uu. There are two possible orderings: w<v<u<ww^{\prime}<v<u<w and w<u<v<ww^{\prime}<u<v<w. W.l.o.g., let u<vu<v; the other case is symmetric. In this situation, the xx-coordinates of the points have to satisfy x(u)<x(v)1x(u)<x(v)-1, x(w)<x(u)1x(w^{\prime})<x(u)-1, and thus x(w)<x(v)2x(w^{\prime})<x(v)-2 in contradiction to the assumption that vv and ww^{\prime} are adjacent.

Refer to caption
Figure 7: The configuration in case (3); the algorithm would have chosen vv instead of uu^{\prime}.

Regarding case (3), assume there was an uncolored point vv adjacent to two points w<v<ww^{\prime}<v<w of color 1 and two points u<v<uu^{\prime}<v<u of color 2. W.l.o.g., assume w<u<v<w<uw^{\prime}<u^{\prime}<v<w<u as depicted in Figure 7; the case u<wu^{\prime}<w^{\prime} is symmetric. Because ww^{\prime} and vv are adjacent, the vertical strip induced by vv intersects the strip induced by ww^{\prime}. Thus, there cannot be a point yy with w<y<vw^{\prime}<y<v not adjacent to ww^{\prime} or vv. This is a contradiction to the choice of uu^{\prime}: The algorithm would have chosen vv, or a larger point, instead of uu^{\prime}. ∎

The following corollary follows by subdividing the plane into strips of height 3\sqrt{3}.

Corollary 8.

Unit disk graphs are conflict-free 66-colorable.

Unfortunately, the proof of Theorem 7 does not appear to have a straightforward generalization to strips of larger height. Further reducing the height to find strips that are colorable with one color is also impossible, see Section 6.3.

5.3 Unit-Disk Graphs of Bounded Area

Proving Conjecture 6 is non-trivial, even when all center points lie in a 2×22\times 2-square. In this setting, a circle packing argument can be used to establish the sufficiency of three colors. If a unit disk graph with conflict-free chromatic number 3 can be embedded into a 2×22\times 2-square, the following are necessary. (1) Every minimum dominating set DD has size 3, and every pair of dominating vertices must have a common neighbor not shared with the third dominating vertex. Thus, every minimum dominating set lies on a 6-cycle without chords connecting a vertex with the opposite vertex. (2) GG has diameter 2; otherwise, one could assign the same color to two vertices at distance 3.

Using the domination number, one can further restrict the position of the points in the 2×22\times 2-square: There is an area in the center of the square, depicted in Figure 8, that cannot contain the center of any disk because this would yield a dominating set of size 2.

Refer to caption
Refer to caption
Figure 8: (Left) A vertex-minimal graph satisfying (1) and (2). (Right) In any unit disk graph GG embeddable in a 2×22\times 2-square with domination number γ(G)=3\gamma(G)=3, no points lie in the depicted area.

The smallest graph satisfying constraints (1) and (2) has 11 vertices and is depicted in Figure 8. It is not a unit disk graph and it is still conflict-free 2-colorable, but every coloring requires at least four colored vertices, proving that coloring a minimum dominating set can be insufficient. This implies that a simple algorithm like the one used in the proof of Theorem 7 will most likely be insufficient for strips of greater height. We are not aware of any unit disk graph satisfying these constraints.

6 Unit-Square and Interval Graphs

The constructions of the previous section can also be applied to the case of squares; for interval graphs, we get a tight worst-case bound.

6.1 Complexity: One Color

It is straightforward to see that the construction of Theorem 5 can be applied for unit square instead of unit disks.

Corollary 9.

It is NP-complete to decide whether a unit square graph G=(V,E)G=(V,E) has a conflict-free coloring with one color.

6.2 A Worst-Case Upper Bound: Four Colors

The proof of Theorem 7 can be applied to unit square graphs of height 2 instead of unit disk graphs of height 3\sqrt{3}; see Figure 9.

Corollary 10.

Unit square graphs of height 22 are conflict-free 22-colorable. Unit square graphs are conflict-free 44-colorable.

Refer to caption
Figure 9: For unit square graphs of height 2, we have a similar situation to that depicted in Figure 6: Centered around each colored vertex cc, there is a vertical strip of width 4 such that all vertices vv with center points in this strip are adjacent to cc. The remainder of the proof of Theorem 7 applies to unit square graphs analogously.

6.3 Interval Graphs: Two Colors

Unit interval graphs correspond to unit disk or unit square graphs with all centers lying on a line. Even then, two colors in a conflict-free coloring may be required; the Bull Graph is such an example, see Figure 10.

Refer to caption
Figure 10: (Left) Realizing the Bull Graph as a unit interval graph. Conflict-free coloring requiring two colors: there is no dominating vertex, the only pair of vertices at distance 3 is no dominating set. (Right) A conflict-free 2-coloring of an interval graph as computed by the greedy coloring algorithm sketched above.

In this case, the bound of 2 is tight: By Theorem 7, unit interval graphs are conflict-free 22-colorable. By adapting the algorithm used in the proof to always choose the interval extending as far as possible to the right without leaving a previous interval uncovered, this can be extended to interval graphs with non-unit intervals. For an example of this procedure, refer to Figure 10.

7 Conclusion

There are various directions for future work. In addition to closing the worst-case gap for unit disks (and proving Conjecture 6), the worst-case conflict-free chromatic number for unit square graphs also remains open. Other questions include a tight bound for disk (or square) intersection graphs, and a necessary criterion for a family of geometric objects to have intersection graphs with unbounded conflict-free chromatic number.

References

  • [1] Mohammad Ali Abam, Mark de Berg, and Sheung-Hung Poon. Fault-tolerant conflict-free colorings. In Proc. 20th Canadian Conference on Computational Geometry (CCCG), pages 13–16, 2008.
  • [2] Zachary Abel, Victor Alvarez, Erik D. Demaine, Sándor P. Fekete, Aman Gour, Adam Hesterberg, Phillip Keldenich, and Christian Scheffer. Three colors suffice: Conflict-free coloring of planar graphs. In Proc. 28th Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 1951–1963, 2017.
  • [3] Deepak Ajwani, Khaled Elbassioni, Sathish Govindarajan, and Saurabh Ray. Conflict-free coloring for rectangle ranges using O(n.382)O(n^{.382}) colors. In Proc. 19th ACM Symposium on Parallelism in Algorithms and Architectures (SPAA), pages 181–187, 2007.
  • [4] Noga Alon and Shakhar Smorodinsky. Conflict-free colorings of shallow discs. In Proc. 22nd Symposium on Computational Geometry (SoCG), pages 41–43, 2006.
  • [5] Pradeesha Ashok, Aditi Dudeja, and Sudeshna Kolay. Exact and FPT algorithms for max-conflict free coloring in hypergraphs. In Proc. 26th International Symposium on Algorithms and Computation, pages 271–282, 2015.
  • [6] Amotz Bar-Noy, Panagiotis Cheilaris, Svetlana Olonetsky, and Shakhar Smorodinsky. Online conflict-free colouring for hypergraphs. Combinatorics, Probability and Computing, 19(04):493–516, 2010.
  • [7] Andreas Bärtschi, Subir Kumar Ghosh, Matúš Mihalák, Thomas Tschager, and Peter Widmayer. Improved bounds for the conflict-free chromatic art gallery problem. In Proc. 30th Symposium on Computational Geometry (SoCG), pages 144–153, 2014.
  • [8] Andreas Bärtschi and Subhash Suri. Conflict-free chromatic art gallery coverage. Algorithmica, 68(1):265–283, 2014.
  • [9] Panagiotis Cheilaris, Luisa Gargano, Adele A. Rescigno, and Shakhar Smorodinsky. Strong conflict-free coloring for intervals. Algorithmica, 70(4):732–749, 2014.
  • [10] Panagiotis Cheilaris, Shakhar Smorodinsky, and Marek Sulovsky. The potential to improve the choice: list conflict-free coloring for geometric hypergraphs. In Proc. 27th Annual Symposium on Computational Geometry, pages 424–432. ACM, 2011.
  • [11] Panagiotis Cheilaris and Géza Tóth. Graph unique-maximum and conflict-free colorings. Journal of Discrete Algorithms, 9(3):241–251, 2011.
  • [12] Ke Chen, Amos Fiat, Haim Kaplan, Meital Levy, Jiří Matoušek, Elchanan Mossel, János Pach, Micha Sharir, Shakhar Smorodinsky, Uli Wagner, and Emo Welzl. Online conflict-free coloring for intervals. SIAM Journal on Computing, 36(5):1342–1359, 2006.
  • [13] Hubert de Fraysseix, János Pach, and Richard Pollack. How to draw a planar graph on a grid. Combinatorica, 10(1):41–51, 1990.
  • [14] Khaled Elbassioni and Nabil H. Mustafa. Conflict-free colorings of rectangles ranges. In 23rd Proc. Symposium on Theoretical Aspects of Computer Science (STACS), pages 254–263, 2006.
  • [15] Guy Even, Zvi Lotker, Dana Ron, and Shakhar Smorodinsky. Conflict-free colorings of simple geometric regions with applications to frequency assignment in cellular networks. SIAM Journal on Computing, 33(1):94–136, 2003.
  • [16] Sándor P. Fekete, Stephan Friedrichs, Michael Hemmer, Joseph B. M. Mitchell, and Christiane Schmidt. On the chromatic art gallery problem. In Proc. 26th Canadian Conference on Computational Geometry (CCCG), pages 1–6, paper 11, 2014.
  • [17] Luisa Gargano and Adele A. Rescigno. Complexity of conflict-free colorings of graphs. Theoretical Computer Science, 566:39–49, 2015.
  • [18] Roman Glebov, Tibor Szabó, and Gábor Tardos. Conflict-free coloring of graphs. Combinatorics, Probability and Computing, 23:434–448, 2014.
  • [19] Sariel Har-Peled and Shakhar Smorodinsky. Conflict-free coloring of points and simple regions in the plane. Discrete & Computational Geometry, 34(1):47–70, 2005.
  • [20] Frank Hoffmann, Klaus Kriegel, Subhash Suri, Kevin Verbeek, and Max Willert. Tight bounds for conflict-free chromatic guarding of orthogonal art galleries. In Proc. 31st Symposium on Computational Geometry (SoCG), pages 421–435, 2015.
  • [21] Elad Horev, Roi Krakovski, and Shakhar Smorodinsky. Conflict-free coloring made stronger. In Proc. 12th Scandinavian Symposium and Workshops on Algorithm Theory (SWAT), pages 105–117, 2010.
  • [22] Ross J. Kang and Tobias Müller. Sphere and dot product representations of graphs. Discrete & Computational Geometry, 47(3):548–568, 2012.
  • [23] Chaya Keller and Shakhar Smorodinsky. Conflict-free coloring of intersection graphs of geometric objects. arXiv preprint arXiv:1704.02018, 2017.
  • [24] Nissan Lev-Tov and David Peleg. Conflict-free coloring of unit disks. Discrete Applied Mathematics, 157(7):1521–1532, 2009.
  • [25] Colin McDiarmid, Dieter Mitsche, and Pawel Pralat. Clique colourings of geometric graphs. arXiv preprint arXiv:1701.02693, 2017.
  • [26] Wolfgang Mulzer and Günter Rote. Minimum-weight triangulation is NP-hard. Journal of the ACM, 55(2):11, 2008.
  • [27] János Pach and Gábor Tardos. Conflict-free colourings of graphs and hypergraphs. Combinatorics, Probability and Computing, 18(05):819–834, September 2009.
  • [28] Shakhar Smorodinsky. Combinatorial Problems in Computational Geometry. PhD thesis, School of Computer Science, Tel-Aviv University, 2003.