P-complete

Lexicographically First ∆ + 1 Vertex Coloring (LFDVC)

Category: Graph Theory

Input

An undirected graph $G = (V, E)$ with $\Delta$ equal to the maximum degree of any vertex in $V$, an ordering $v_1, \ldots, v_n$ on the vertices of $V$, a designated color $c$, and a vertex $v$.

Problem

Is vertex $v$ colored with color $c$ in the lexicographically least coloring of the vertices of $G$?

Definitions

A coloring is an assignment of colors to the vertices such that no adjacent vertices receive the same color. The coloring uses at most $\Delta + 1$ colors. If $c_i$ is the color of $v_i$, where $c_i \in \{1, \ldots, \Delta + 1\}$, then each coloring corresponds to a $(\Delta + 1)$-ary number, and the least coloring is well-defined.

Status

$\P$-complete (Luby [1]).

Remarks

The reduction to show hardness is from NANDCVP. The problem of $\Delta - 1$ coloring is $\NP$-complete (Garey and Johnson [2]). For graphs that are not an odd cycle or complete, a $\Delta$ coloring can be found in polynomial time (Brook’s Theorem, see Brooks [3] or, for example, Bondy and Murty [4]). However, this is not necessarily the lexicographically first coloring. $\Delta + 1$ vertex coloring is $\NC^1$ reducible to finding a maximal independent set, but the maximal independent set algorithm (Karp and Wigderson [5]) does not produce the lexicographically first maximal independent set.

It is possible to color a graph with $\Delta$ colors in $\NC$, although again the coloring produced is not the lexicographically first (Hajnal and Szemerédi [6], Karchmer and Naor [7], Karloff [8]). Chlebus et al. show that for tree structured graphs LFDVC can be solved in $\NC$ [9]. There are also $\NC$ algorithms for five coloring planar graphs (Boyar and Karloff [10], Naor [11]).

Karloff and Shmoys give $\NC$ algorithms for edge coloring problems [12]. In particular, they show that multigraphs can be edge colored with $3\lceil \Delta/2 \rceil$ colors on a COMMON CRCW-PRAM using $O((\log(\Delta|V|))^3)$ time and $\Delta|V|$ processors. For the same model and multigraphs with $\Delta$ equal to three, they use four colors, and $O(\log |V|)$ time and $|V| + |E|$ processors. Again on the same model for simple graphs using $\Delta + 1$ colors, Karloff and Shmoys obtain a $\Delta^{O(1)}(\log |V|)^{O(1)}$ time, $|V|^{O(1)}$ processor algorithm. This results in an $\NC$ algorithm for polylogarithmic $\Delta$. See also EC.

References

  1. M. Luby (1986). A simple parallel algorithm for the maximal independent set problem.
  2. M. R. Garey and D. S. Johnson (1979). Computers and Intractability: A Guide to the Theory of NP-Completeness.
  3. R. L. Brooks (1941). On coloring the nodes of a network.
  4. J. A. Bondy and U. S. R. Murty (1976). Graph Theory with Applications.
  5. R. M. Karp and A. Wigderson (1985). A fast parallel algorithm for the maximal independent set problem.
  6. P. Hajnal and E. Szemerédi (1990). Brooks coloring in parallel.
  7. M. Karchmer and J. Naor (1988). A fast parallel algorithm to color a graph with ∆colors.
  8. H. J. Karloff (1989). An NC algorithm for Brooks’ Theorem.
  9. B. Chlebus, K. Diks, W. Rytter, and T. Szymacha (1989). Parallel complexity of lexicographically first problems for tree-structured graphs.
  10. J. F. Boyar and H. J. Karloff (1987). Coloring planar graphs in parallel.
  11. J. Naor (1990). A fast parallel coloring of planar graphs with five colors.
  12. H. J. Karloffand D. B. Shmoys (1987). Efficient parallel algorithms for edge coloring problems.
  13. Greenlaw, R., Hoover, H. J., and Ruzzo, W. L. (1995). Limits to Parallel Computation: P-Completeness Theory. Oxford University Press. Problem A.2.6.