A linear-time algorithm for clique-coloring planar graphs
Introduction
All graphs considered here are finite, simple and nonempty. Let be a graph with vertex set and edge set . For a vertex , the open neighborhood of is defined as the set of vertices adjacent to , i.e., . The closed neighborhood of is . The degree of is equal to , denoted by or simply . By and , we denote the minimum degree and the maximum degree of the graph respectively. For a subset , the subgraph induced by is denoted by .
A clique of a graph is a set of pairwise adjacent vertices of . A clique on vertices is called an -clique of . A clique-coloring of , also called weak coloring in the literature, is an assignment of colors to the vertices of in such a way that no inclusion-wise maximal clique of size at least two of is monochromatic. A -clique-coloring of is a clique-coloring : of . If has a -clique-coloring, we say that is -clique-colorable. The clique-chromatic number of , denoted by , is the smallest integer such that is -clique-colorable. Clearly, every proper vertex coloring of is also a clique-coloring, and so . Furthermore, if a graph is triangle-free, then the clique-coloring of coincides with its proper vertex coloring. This implies that there are triangle-free graphs of arbitrarily large clique-chromatic number since there are triangle-free graphs of arbitrarily large chromatic number. In general, clique-coloring can be a very different problem from ordinary vertex coloring. The most notable difference is that clique-coloring has not a hereditary property: it is possible that a graph is -clique-colorable, but it has an induced subgraph that is not [2]. Another difference is that a large clique is not an obstruction for clique colorability: even 2-clique-colorable graphs can contain arbitrarily large cliques. Determining is hard: to decide is NP-complete on 3-chromatic perfect graphs [16], graphs with maximum degree [2] and even (, diamond)-free perfect graphs [10]. Clique-coloring has received considerable attention (see [1], [2], [3], [4], [5], [6], [7], [8], [9], [10], [11], [12], [13], [14], [15], [16], [17], [18], [19], [20], [21], [22], [23], [24]).
A graph is said to be a planar graph, if it can be drawn in the plane so that its edges intersect only at their ends. Such a drawing is called a planar embedding of the graph. Any such particular embedding is called a plane graph.
Planar graphs were proved to be 3-clique-colorable, i.e., [21] and can be tested in polynomial time if the input is restricted to planar instances [16]. In [24] it was proved that every claw-free planar graph, different from an odd cycle, is 2-clique-colorable and a polynomial-time algorithm for finding the clique-coloring was proposed. In this note we provide a linear time algorithm for -clique-coloring an arbitrary planar graph by giving a new proof that planar graphs are -clique-colorable.
Section snippets
Planar graphs are -clique-colorable
For algorithmic purposes, we give a new proof that planar graphs are -clique-colorable. The join of a cycle and a single vertex is referred to as a n-wheel. First, we present some lemmas about planar graphs as follows.
Lemma 1 If is a {claw,}-free planar graph, then and for every vertex of degree in, is a-wheel.[24]
Lemma 2 If is a claw-free planar graph with , then for every vertex of degree in, is one of the following graphs shown in Fig. 1.
Proof Let be a vertex of
A linear time algorithm
Based on Lemma 3, Theorem 4, Theorem 5, we design a linear time algorithm for -clique-coloring a planar graph as follows.
Algorithm A Input: A planar graph . Output: A -clique-coloring of Step 1: Give a partition such that and the vertices in have degrees at most five and the vertices in have degrees at least six in . Step 2: Set and . Step 3: If , turn to step 4. If not, take any one vertex in and denote it by . Set . Set . Update and such A -clique-coloring of planar graphs.
Acknowledgments
This research was partially supported by NSFC (Grant Numbers 11601262 and 11571222) and the Educational Commission of Anhui Province of China (KJ2018A0346). The authors would also like to thank the anonymous referee for their detailed and perceptive comments on the previous version of the paper.
References (24)
- et al.
Clique-transversal sets of line graphs and complements of line graphs
Discrete Math.
(1991) - et al.
Coloring clique-hypergraphs of circulant graphs
Electr. Notes Discrete Math.
(2008) - et al.
Clique coloring circular-arc graphs
Electr. Notes Discrete Math.
(2009) - et al.
Clique coloring UE and UEH graphs
Electr. Notes Discrete Math.
(2008) - et al.
Perfect graphs of arbitrarily large clique-chromatic number
J. Combin. Theory Ser. B
(2016) - et al.
Fibers and ordered set coloring
J. Combin. Theory Ser. A
(1991) - et al.
On the divisibility of graphs
Discrete Math.
(2002) - et al.
Chains, antichains and fibres
J. Combin. Theory Ser. A
(1987) Complexity of clique coloring and related problems
Theoret. Comput. Sci.
(2011)- et al.
Coloring clique-hypergraphs of graphs with no subdivision of
Theoret. Comput. Sci.
(2015)
Clique-transversal sets and clique-coloring in planar graphs
European J. Combin.
Coloring the maximal cliques of graphs
SIAM J. Discrete Math.
Cited by (2)
List-coloring clique-hypergraphs of K<inf>5</inf>-minor-free graphs strongly
2020, Discrete MathematicsModeling clique coloring via ASP(Q)
2021, CEUR Workshop Proceedings