Approximating Interval Coloring and Max-Coloring in Chordal Graphs

  • Sriram V. Pemmaraju
  • Sriram Penumatcha
  • Rajiv Raman
Part of the Lecture Notes in Computer Science book series (LNCS, volume 3059)


We consider two coloring problems: interval coloring and max-coloring for chordal graphs. Given a graph G = (V, E) and positive integral vertex weights w: VN, the interval coloring problem seeks to find an assignment of a real interval I(u) to each vertex u ∈ V such that two constraints are satisfied: (i) for every vertex u ∈ V, |I(u)| = w(u) and (ii) for every pair of adjacent vertices u and v, I(u) ∩ I(v) = ∅. The goal is to minimize the span | ∪  ν ∈ v I(ν)|. The max-coloring problem seeks to find a proper vertex coloring of G whose color classes C 1, C 2, ..., C k , minimize the sum of the weights of the heaviest vertices in the color classes, that is, \(\sum^{k}_{i=1}max_{\nu \in C_{i}w(v)}\). Both problems arise in efficient memory allocation for programs. Both problems are NP-complete even for interval graphs, though both admit constant-factor approximation algorithms on interval graphs. In this paper we consider these problems for chordal graphs. There are no known constant-factor approximation algorithms for either interval coloring or for max-coloring on chordal graphs. However, we point out in this paper that there are several simple O(log(n))-factor approximation algorithms for both problems. We experimentally evaluate and compare three simple heuristics: first-fit, best-fit, and a heuristic based on partitioning the graph into vertex sets of similar weight. Our experiments show that in general first-fit performs better than the other two heuristics and is typically very close to OPT, deviating from OPT by about 6% in the worst case for both problems. Best-fit provides some competition to first-fit, but the graph partitioning heuristic performs significantly worse than either. Our basic data comes from about 10000 runs of the each of the three heuristics for each of the two problems on randomly generated chordal graphs of various sizes and sparsity.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. 1.
    Garey, M., Johnson, D.: Computers and Intractability: A Guide to the theory of NP-completeness. W.H. Freeman and Company, San Fransisco (1979)zbMATHGoogle Scholar
  2. 2.
    Fabri, J.: Automatic storage optimization. ACM SIGPLAN Notices: Proceedings of the ACM SIGPLAN 1979 on Compiler Construction 14, 83–91 (1979)CrossRefGoogle Scholar
  3. 3.
    Buchsbaum, A., Karloff, H., Kenyon, C., Reingold, N., Thorup, M.: OPT versus LOAD in dynamic storage allocation. In: Proceedings of the 35th Annual ACM Symposium on Theory of Computing, STOC (2003)Google Scholar
  4. 4.
    Govindarajan, R., Rengarajan, S.: Buffer allocation in regular dataflow networks: An approach based on coloring circular-arc graphs. In: Proceedings of the 2nd International Conference on High Performance Computing (1996)Google Scholar
  5. 5.
    Pemmaraju, S., Raman, R., Varadarajan, K.: Buffer minimization using maxcoloring. In: Proceedings of 15th ACM-SIAM Symposium on Discrete Algorithms (SODA), pp. 555–564 (2004)Google Scholar
  6. 6.
    Kierstead, H., Trotter, W.: An extremal problem in recursive combinatorics. Congressus Numerantium 33, 143–153 (1981)MathSciNetGoogle Scholar
  7. 7.
    Tarjan, R., Yannakakis, M.: Simple linear-time algorithms to test chordality of graphs, test acyclicity of hypergraphs, amd selectively reduce acyclic hypergraphs. SIAM Journal on Computing 13, 566–579 (1984)zbMATHCrossRefMathSciNetGoogle Scholar
  8. 8.
    Chrobak, M., Ślusarek, M.: On some packing problems related to dynamic storage allocation. Informatique théorique et Applications/Theoretical Informatics and Applications 22, 487–499 (1988)zbMATHGoogle Scholar
  9. 9.
    Irani, S.: Coloring inductive graphs on-line. Algorithmica 11, 53–72 (1994)zbMATHCrossRefMathSciNetGoogle Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2004

Authors and Affiliations

  • Sriram V. Pemmaraju
    • 1
  • Sriram Penumatcha
    • 1
  • Rajiv Raman
    • 1
  1. 1.The Department of Computer ScienceThe University of IowaIowa CityUSA

Personalised recommendations