A linear-time algorithm for clique-coloring planar graphs

https://doi.org/10.1016/j.orl.2019.03.016Get rights and content

Abstract

A clique of a graph G is a set of pairwise adjacent vertices of G. A clique-coloring of G is an assignment of colors to the vertices of G such that no inclusion-wise maximal clique of size at least 2 is monochromatic. Mohar and Škrekovski proved that planar graphs are 3-clique-colorable (Electr. J. Combin. 6 (1999), #R26). In this paper we present a linear time algorithm for 3-clique-coloring planar graphs by giving a new proof that planar graphs are 3-clique-colorable.

Introduction

All graphs considered here are finite, simple and nonempty. Let G=(V,E) be a graph with vertex set V and edge set E. For a vertex vV, the open neighborhood N(v) of v is defined as the set of vertices adjacent to v, i.e., N(v)={uuvE}. The closed neighborhood of v is N[v]=N(v){v}. The degree of v is equal to |N(v)|, denoted by dG(v) or simply d(v). By δ(G) and Δ(G), we denote the minimum degree and the maximum degree of the graph G respectively. For a subset SV, the subgraph induced by S is denoted by G[S].

A clique of a graph G is a set of pairwise adjacent vertices of G. A clique on m vertices is called an m-clique of G. A clique-coloring of G, also called weak coloring in the literature, is an assignment of colors to the vertices of G in such a way that no inclusion-wise maximal clique of size at least two of G is monochromatic. A k-clique-coloring of G is a clique-coloring φ: V{1,2,,k} of G. If G has a k-clique-coloring, we say that G is k-clique-colorable. The clique-chromatic number of G, denoted by χC(G), is the smallest integer k such that G is k-clique-colorable. Clearly, every proper vertex coloring of G is also a clique-coloring, and so χC(G)χ(G). Furthermore, if a graph G is triangle-free, then the clique-coloring of G 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 k-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 χC(G) is hard: to decide χC=2 is NP-complete on 3-chromatic perfect graphs [16], graphs with maximum degree 3 [2] and even (K4, 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., χC3 [21] and χC=2 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 3-clique-coloring an arbitrary planar graph by giving a new proof that planar graphs are 3-clique-colorable.

Section snippets

Planar graphs are 3-clique-colorable

For algorithmic purposes, we give a new proof that planar graphs are 3-clique-colorable. The join CnK1 of a cycle Cn and a single vertex is referred to as a n-wheel. First, we present some lemmas about planar graphs as follows.

Lemma 1

[24]

If G is a {claw,K4}-free planar graph, then Δ(G)5 and for every vertex v of degree 5 inG,G[N[v]] is a5-wheel.

Lemma 2

If G is a claw-free planar graph with Δ(G)5, then for every vertex v of degree 5 inG,G[N[v]] is one of the following graphs shown in Fig. 1.

Proof

Let v be a vertex of

A linear time algorithm

Based on Lemma 3, Theorem 4, Theorem 5, we design a linear time algorithm for 3-clique-coloring a planar graph as follows.

Algorithm A

A 3-clique-coloring of planar graphs.

Input: A planar graph G=(V,E).

Output: A 3-clique-coloring of G

Step 1: Give a partition V(G)=V1V2 such that and the vertices in V1 have degrees at most five and the vertices in V2 have degrees at least six in G.

Step 2: Set Gn=G and i=n.

Step 3: If i0, turn to step 4. If not, take any one vertex in V1 and denote it by vi. Set i=i1. Set Gi=G(i+1)v(i+1). Update V1 and V2 such

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)

  • ShanE. et al.

    Clique-transversal sets and clique-coloring in planar graphs

    European J. Combin.

    (2014)
  • BacsóG. et al.

    Coloring the maximal cliques of graphs

    SIAM J. Discrete Math.

    (2004)
  • Cited by (2)

    • Modeling clique coloring via ASP(Q)

      2021, CEUR Workshop Proceedings
    View full text