Abstract
In this paper we present an algorithm for determining the number of spanning trees of a graph G which takes advantage of the structure of the modular decomposition tree of G. Specifically, our algorithm works by contracting the modular decomposition tree of the input graph G in a bottom-up fashion until it becomes a single node; then, the number of spanning trees of G is computed as the product of a collection of values which are associated with the vertices of G and are updated during the contraction process. In particular, when applied on a (q,q − 4)-graph for fixed q, a P 4-tidy graph, or a tree-cograph, our algorithm computes the number of its spanning trees in time linear in the size of the graph, where the complexity of arithmetic operations is measured under the uniform-cost criterion. Therefore we give the first linear-time algorithm for the counting problem in the considered graph classes.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
Aho, A.V., Hopcroft, J.E., Ullman, J.D.: The Design and Analysis of Computer Algorithms. Addison-Wesley, Reading (1974)
Atajan, T., Yong, X., Inaba, H.: An efficient approach for counting the number of spanning trees in circulant and related graphs. Discrete Math. 310, 1210–1221 (2010)
Bapat, R.B., Lal, A.K., Pati, S.: Laplacian spectrum of weakly quasi-threshold graphs. Graphs and Combinatorics 24, 273–290 (2008)
Babel, L., Olariu, S.: On the structure of graphs with few P 4’s. Discrete Appl. Math. 84, 1–13 (1998)
Biggs, N.: Algebraic Graph Theory. Cambridge University Press, London (1974)
Bodlaender, H.L., Rotics, U.: Computing the treewidth and the minimum fill-In with the modular decomposition. Algorithmica 36, 375–408 (2003)
Brown, T.J.N., Mallion, R.B., Pollak, P., Roth, A.: Some methods for counting the spanning trees in labeled molecular graphs, examined in relation to certain fullerenes. Discrete Appl. Math. 67, 51–66 (1996)
Colbourn, C.J.: The Combinatorics of Network Reliability. Oxford University Press, Oxford (1974)
Colbourn, C.J., Provan, J.S., Vertigan, D.: A new approach to solving three combinatorial enumeration problems on planar graphs. Discrete Appl. Math. 60, 119–129 (1995)
Coppersmith, D., Winograd, S.: Matrix multiplication via arithmetic progressions. In: Proc. 19th ACM Symposium on the Theory of Computing, pp. 1–6 (1987)
Courcelle, B., Delhommé, C.: The modular decomposition of countable graphs: Constructions in monadic second-order logic. In: Ong, L. (ed.) CSL 2005. LNCS, vol. 3634, pp. 325–338. Springer, Heidelberg (2005)
Courcelle, B., Makowsky, J.A., Rotics, U.: Linear time solvable optimization problems on graphs of bounded clique-width. Theory Comput. Syst. 33, 125–150 (2000)
Gagneur, J., Krause, R., Bouwmeester, T., Casari, G.: Modular decomposition of protein-protein interaction networks. Genome Biology 5, R57 (2004)
Giakoumakis, V., Roussel, F., Thuillier, H.: On P 4-tidy graphs. Discrete Math. and Theoret. Comput. Science 1, 17–41 (1997)
Golin, M.J., Yong, X., Zhang, Y.: Chebyshev polynomials and spanning tree formulas for circulant and related graphs. Discrete Math 298, 334–364 (2005)
Lipton, R.J., Rose, D., Tarjan, R.E.: Generalized nested dissection. SIAM J. Numerical Anal. 16, 346–358 (1979)
Lovasz, L., Plummer, M.D.: Matching Theory. North-Holland, Amsterdam (1986)
McConnell, R.M., Spinrad, J.: Modular decomposition and transitive orientation. Discrete Math. 201, 189–241 (1999)
Myrvold, W., Cheung, K.H., Page, L.B., Perry, J.E.: Uniformly-most reliable networks do not always exist. Networks 21, 417–419 (1991)
Nikolopoulos, S.D., Papadopoulos, C.: The number of spanning trees in K n -complements of quasi-threshold graphs. Graphs and Combinatorics 20, 383–397 (2004)
Nikolopoulos, S.D., Palios, L., Papadopoulos, C.: Maximizing the number of spanning trees in K n -complements of asteroidal graphs. Discrete Math. 309, 3049–3060 (2009)
Nikolopoulos, S.D., Rondogiannis, P.: On the number of spanning trees of multi-star related graphs. Inform. Process. Lett. 65, 183–188 (1998)
Papadimitriou, C.: Computational Complexity. Addison-Wesley, Reading (1994)
Papadopoulos, C., Voglis, C.: Drawing graphs using modular decomposition. Journal of Graph Algorithms and Applications 11, 481–511 (2007)
Petingi, L., Rodriguez, J.: A new technique for the characterization of graphs with a maximum number of spanning trees. Discrete Math. 244, 351–373 (2002)
Tinhofer, G.: Strong tree-cographs are Birkhoff graphs. Discrete Appl. Math. 22, 275–288 (1988)
Zhang, Y., Yong, X., Golin, M.J.: The number of spanning trees in circulant graphs. Discrete Math. 223, 337–350 (2000)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2011 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Nikolopoulos, S.D., Palios, L., Papadopoulos, C. (2011). Counting Spanning Trees in Graphs Using Modular Decomposition. In: Katoh, N., Kumar, A. (eds) WALCOM: Algorithms and Computation. WALCOM 2011. Lecture Notes in Computer Science, vol 6552. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-19094-0_21
Download citation
DOI: https://doi.org/10.1007/978-3-642-19094-0_21
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-19093-3
Online ISBN: 978-3-642-19094-0
eBook Packages: Computer ScienceComputer Science (R0)