Abstract

We study the problem of coloring graphs in an online manner. The only known deterministic online graph coloring algorithm with a sublinear performance function was found by Lovász, Saks, and Trotter, ( Discrete Math. 75 (1989) , 319–325). Their algorithm colors graphs of chromatic number χ with no more than (2χn) log ∗ n colors, where n is the number of vertices. They point out that the performance can be improved slightly for graphs with bounded chromatic number. For three-chromatic graphs the number of colors used, for example, is O( n log log log n log log n ) . We show that randomization helps in coloring graphs online. We present a simple randomized online algorithm to color graphs with expected number of colors O(2 χχ 2n (χ−2) (χ−1) ( log n) 1 (χ−1) ) . For three-colorable graphs the expected number of colors our algorithm uses is O( n log n ) . All our algorithms run in polynomial time. It is interesting to note that our algorithm compares well with the best known polynomial time offline algorithms. For instance, the best polynomial time algorithm known for three-colorable graphs, due to Avrim Blum, uses O(n 3 8 poly-log(n)) colors ( in “Proceedings, 31st Annual Sympos. Found. Comput. Sci., 1990,” pp. 554–562). We also prove a lower bound of Ω(( 1 (χ − 1) )(( log n (12(χ + 1)) ) − 1) χ−1) for the randomized model. No lower bound for the randomized model was previously known. For bounded χ, our result improves even the best known lower bound for the deterministic case: Ω(( log n log log n ) χ−1) , due to Noga Alon (personal communication, September 1989).

Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call