An Exact Algorithm for Counting the Number of Independent Sets of a Graph
Open Access
- 12 January 2026
- journal article
- research article
- Published by MDPI AG in Mathematics
- Vol. 14 (2) , 275
Abstract
For a graph G of a degree greater than or equal to 3, counting the number of independent sets (denoted as ) is a classical #P-complete problem. Here, we establish a new worst-case upper bound time complexity for computing for any non-constraint undirected graph. Our proposal applies the vertex division rule over a vertex x which satisfies some conditions, and considers cactus and outerplanar graphs as basic subgraphs.Our algorithm establishes a leading worst-case upper bound of , where n is the number of vertices in the graph and omits polynomial terms in n.
Keywords
This publication has 21 references indexed in Scilit:
- Faster Graph Coloring in Polynomial SpaceAlgorithmica, 2022
- On Independent Sets and Bicliques in GraphsAlgorithmica, 2010
- The Number of Independent Sets in a Regular GraphCombinatorics, Probability and Computing, 2009
- The number of independent sets in unicyclic graphs with a given diameterDiscrete Applied Mathematics, 2009
- Counting models for 2SAT and 3SAT formulaeTheoretical Computer Science, 2005
- Corrigendum: The complexity of counting graph homomorphismsRandom Structures & Algorithms, 2004
- The complexity of counting colourings and independent sets in sparse graphs and hypergraphscomputational complexity, 2000
- On the hardness of approximate reasoningArtificial Intelligence, 1996
- Clique polynomials and independent set polynomials of graphsDiscrete Mathematics, 1994
- Fibonacci Numbers of GraphsThe Fibonacci Quarterly, 1982