Linear-Time Counting Algorithms for Independent Sets in Chordal Graphs

  • Yoshio Okamoto
  • Takeaki Uno
  • Ryuhei Uehara
Part of the Lecture Notes in Computer Science book series (LNCS, volume 3787)


We study some counting and enumeration problems for chordal graphs, especially concerning independent sets. We first provide the following efficient algorithms for a chordal graph: (1) a linear-time algorithm for counting the number of independent sets; (2) a linear-time algorithm for counting the number of maximum independent sets; (3) a polynomial-time algorithm for counting the number of independent sets of a fixed size. With similar ideas, we show that enumeration (namely, listing) of the independent sets, the maximum independent sets, and the independent sets of a fixed size in a chordal graph can be done in constant amortized time per output. On the other hand, we prove that the following problems for a chordal graph are # P-complete: (1) counting the number of maximal independent sets; (2) counting the number of minimum maximal independent sets. With similar ideas, we also show that finding a minimum weighted maximal independent set in a chordal graph is NP-hard, and even hard to approximate.


Chordal graph counting enumeration independent set NP-completeness # P-completeness polynomial time algorithm 


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. 1.
    Beeri, C., Fagin, R., Maier, D., Yannakakis, M.: On the Desirability of Acyclic Database Schemes. Journal of the ACM 30, 479–513 (1983)zbMATHCrossRefMathSciNetGoogle Scholar
  2. 2.
    Blair, J.R.S., Peyton, B.: An Introduction to Chordal Graphs and Clique Trees. In: George, A., Gilbert, J.R., Liu, J.W.H. (eds.) Graph Theory and Sparse Matrix Computation. IMA, vol. 56, pp. 1–29. Springer, Heidelberg (1993)Google Scholar
  3. 3.
    Brandstädt, A., Le, V.B., Spinrad, J.P.: Graph Classes: A Survey. SIAM, Philadelphia (1999)zbMATHCrossRefGoogle Scholar
  4. 4.
    Buneman, P.: A Characterization of Rigid Circuit Graphs. Discrete Mathematics 9, 205–212 (1974)zbMATHCrossRefMathSciNetGoogle Scholar
  5. 5.
    Chandran, L.S.: A Linear Time Algorithm for Enumerating All the Minimum and Minimal Separators of a Chordal Graph. In: Wang, J. (ed.) COCOON 2001. LNCS, vol. 2108, pp. 308–317. Springer, Heidelberg (2001)CrossRefGoogle Scholar
  6. 6.
    Chandran, L.S., Ibarra, L., Ruskey, F., Sawada, J.: Generating and Characterizing the Perfect Elimination Orderings of a Chordal Graph. Theoretical Computer Science 307, 303–317 (2003)zbMATHCrossRefMathSciNetGoogle Scholar
  7. 7.
    Eppstein, D.: All Maximal Independent Sets and Dynamic Dominance for Sparse Graphs. In: Proc. 16th Ann. ACM-SIAM Symp. on Discrete Algorithms, pp. 451–459. ACM, New York (2005)Google Scholar
  8. 8.
    Farber, M.: Independent Domination in Chordal Graphs. Operations Research Letters 1(4), 134–138 (1982)zbMATHCrossRefMathSciNetGoogle Scholar
  9. 9.
    Flum, J., Grohe, M.: The Parameterized Complexity of Counting Problems. SIAM Journal on Computing 33(4), 892–922 (2004)zbMATHCrossRefMathSciNetGoogle Scholar
  10. 10.
    Fulkerson, D.R., Gross, O.A.: Incidence Matrices and Interval Graphs. Pacific J. Math. 15, 835–855 (1965)zbMATHMathSciNetGoogle Scholar
  11. 11.
    Gavril, F.: Algorithms for Minimum Coloring, Maximum Clique, Minimum Covering by Cliques, and Maximum Independent Set of a Chordal Graph. SIAM Journal on Computing 1(2), 180–187 (1972)zbMATHCrossRefMathSciNetGoogle Scholar
  12. 12.
    Golumbic, M.C.: Algorithmic Graph Theory and Perfect Graphs, 2nd edn. Annals of Discrete Mathematics, vol. 57. Elsevier, Amsterdam (2004)zbMATHGoogle Scholar
  13. 13.
    Klein, P.N.: Efficient Parallel Algorithms for Chordal Graphs. SIAM Journal on Computing 25(4), 797–827 (1996)zbMATHCrossRefMathSciNetGoogle Scholar
  14. 14.
    Leung, J.Y.-T.: Fast Algorithms for Generating All Maximal Independent Sets of Interval, Circular-Arc and Chordal Graphs. Journal of Algorithms 5, 22–35 (1984)zbMATHCrossRefMathSciNetGoogle Scholar
  15. 15.
    Provan, J.S., Ball, M.O.: The Complexity of Counting Cuts and of Computing the Probability that a Graph is Connected. SIAM Journal on Computing 12, 777–788 (1983)zbMATHCrossRefMathSciNetGoogle Scholar
  16. 16.
    Spinrad, J.P.: Efficient Graph Representations. American Mathematical Society, Providence (2003)zbMATHGoogle Scholar
  17. 17.
    Vadhan, S.P.: The Complexity of Counting in Sparse, Regular, and Planar Graphs. SIAM Journal on Computing 31(2), 398–427 (2001)zbMATHCrossRefMathSciNetGoogle Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2005

Authors and Affiliations

  • Yoshio Okamoto
    • 1
  • Takeaki Uno
    • 2
  • Ryuhei Uehara
    • 3
  1. 1.Department of Information and Computer SciencesToyohashi University of TechnologyToyohashi, AichiJapan
  2. 2.National Institute of InformaticsTokyoJapan
  3. 3.School of Information ScienceJAISTIshikawaJapan

Personalised recommendations