Connected greedy colourings of perfect graphs and other classes: the good, the bad and the ugly

Laurent Beaudou, Caroline Brosse, Oscar Defrain, Florent Foucaud, Aurélie Lagoutte, Vincent Limouzy, Lucas Pastor · DOI

TL;DR

This paper investigates "connected greedy colourings" of graphs, a specific type of graph coloring that uses a restricted set of vertex orderings. The authors introduce the concepts of "good" graphs (where all connected orderings yield optimal colorings) and "ugly" graphs (where no connected ordering achieves optimality). They prove that a broad and important class of graphs, known as perfect graphs, are never ugly, and provide constructive algorithms for finding optimal connected colorings for them.

What Problem Does This Paper Address?

Graph coloring, a fundamental problem in computer science, aims to assign colors to vertices such that no two adjacent vertices share the same color. The minimum number of colors needed is the chromatic number, $\chi(G)$. While finding the exact chromatic number is NP-hard, greedy coloring algorithms offer a heuristic approach. The "First-Fit" greedy algorithm colors vertices in a specific order, assigning each vertex the smallest available color not used by its already colored neighbors.

The paper focuses on a variation called "connected greedy coloring." This requires the vertex ordering to maintain connectivity: at each step, the subgraph formed by the already colored vertices must remain connected. The authors are interested in whether these connected orderings can always achieve the optimal coloring ($\chi(G)$ colors). They define "good" graphs as those where all connected orderings achieve $\chi(G)$ colors, and "ugly" graphs as those where no connected ordering can achieve $\chi(G)$ colors (meaning they always require more than $\chi(G)$ colors). The core problem is to identify which graph classes are "good" and which might be "ugly," and to develop efficient algorithms for finding optimal connected colorings.

Methods

The paper introduces and builds upon several key concepts:

  • Greedy Coloring: The standard "First-Fit" algorithm.
  • Grundy Number ($\Gamma(G)$): The maximum number of colors used by any greedy coloring over all possible vertex orderings. This serves as an upper bound on the number of colors needed.
  • Connected Greedy Coloring: Greedy coloring restricted to vertex orderings that maintain connectivity at each step.
  • Connected Grundy Number ($\Gamma_c(G)$): The maximum number of colors used by a connected greedy coloring.
  • Good Graphs: Graphs where $\chi(G) = \Gamma_c(G)$.
  • Ugly Graphs: Graphs where $\chi(G) < \Gamma_c(G)$.

The authors employ a combination of:

  • Inductive Proofs: They prove results for larger graphs by building upon established results for smaller graphs or simpler structures (e.g., induction on the number of vertices or chromatic number).
  • Constructive Algorithms: For the classes of graphs proven to be non-ugly, they provide algorithms that explicitly construct a "good" connected ordering. These algorithms often leverage existing polynomial-time algorithms for perfect graph coloring.
  • Graph Decomposition Techniques: They utilize concepts like biconnected components and cut-vertices to break down graphs into smaller, manageable parts, proving that if the components are "great" (a stronger property than "good"), the whole graph is also "great."
  • Characterization of Graph Properties: They leverage known properties of specific graph classes (like K4-minor-free graphs and comparability graphs) to establish their non-ugliness.

Datasets

Not discussed in the paper. The paper focuses on theoretical graph properties and algorithmic constructions rather than empirical evaluation on datasets.

Key Insights and Ideas

  • Perfect Graphs are Never Ugly: This is the central and most significant result. It implies that for any perfect graph, there always exists a connected ordering that achieves the optimal coloring. This is a powerful generalization of previous results for subclasses of perfect graphs.
  • Constructive Algorithms for Non-Ugly Classes: The paper doesn't just prove non-ugliness; it provides concrete, polynomial-time algorithms to find these optimal connected orderings for K4-minor-free graphs, comparability graphs, and perfect graphs. This makes the theoretical results practically applicable.
  • "Good" vs. "Ugly" Dichotomy: The clear distinction between graphs where connected orderings are always optimal ("good") and those where they can be arbitrarily bad ("ugly") provides a useful framework for classifying graph coloring behavior.
  • Building Good Graphs from Great Components: The lemma showing that if a graph's biconnected components are "great" (a strong property where all connected orderings are good), then the entire graph is "great," demonstrates a useful compositional approach to understanding graph properties.
  • The Role of Perfectness: The proof for perfect graphs heavily relies on their property of having $\chi(G) = \omega(G)$ (clique number) and the existence of polynomial-time algorithms for finding optimal colorings.

Key Results

  • No K4-minor-free graph is ugly: This class includes series-parallel graphs and graphs with treewidth at most 2. A polynomial-time algorithm (O(n²)) is provided to compute a good connected ordering.
  • No comparability graph is ugly: These graphs are related to partially ordered sets. A polynomial-time algorithm (O(mn)) is provided for computing a good connected ordering.
  • No perfect graph is ugly: This is the main theorem, generalizing previous results. A constructive algorithm is presented, relying on an optimal coloring of the perfect graph and a subroutine to find reachable vertices. The complexity depends on the complexity of finding optimal colorings for perfect graphs, which is polynomial but potentially with a high exponent.
  • The paper provides algorithms: For K4-minor-free graphs (O(n²)), comparability graphs (O(mn)), and perfect graphs (dependent on optimal coloring algorithm complexity).

Limitations and Future Work

  • Complexity of Perfect Graph Coloring: While the paper provides an algorithm for perfect graphs, its overall time complexity is tied to the best known polynomial-time algorithm for finding optimal colorings of perfect graphs, which is noted to have a potentially large exponent. Future work could focus on improving this specific complexity.
  • "Bad" Graphs: The paper focuses on "ugly" graphs (where no connected ordering is optimal) and "good" graphs (where all connected orderings are optimal). The intermediate category of "bad" graphs (where some connected orderings are optimal, but not all) is acknowledged but not the primary focus of the classification.
  • Specific Graph Classes: While perfect graphs are a broad class, exploring other specific graph classes for their "goodness" or "ugliness" remains an ongoing area of research.
  • Algorithmic Improvements: Further refinement of the algorithms for specific graph classes, particularly for perfect graphs, could lead to more practical implementations.

Summary updated

BibTeX
@article{beaudou2023connected,
  author = {Laurent Beaudou and Caroline Brosse and Oscar Defrain and Florent Foucaud and Aurélie Lagoutte and Vincent Limouzy and Lucas Pastor},
  title = {{Connected greedy colourings of perfect graphs and other classes: the good, the bad and the ugly}},
  journal = {Discret. Math. Theor. Comput. Sci.},
  year = {2023},
  doi = {10.46298/dmtcs.8715},
}
Figure