Skip to main content

Efficiently Enumerating All Spanning Trees of a Plane 3-Tree

(Extended Abstract)

  • Conference paper
  • First Online:
Algorithms and Complexity (CIAC 2023)

Abstract

A spanning tree T of a connected, undirected graph G is an acyclic subgraph having all vertices and a minimal number of edges of G connecting those vertices. Enumeration of all possible spanning trees of undirected graphs is a well-studied problem. Solutions exist for enumeration for both weighted and unweighted graphs. However, these solutions are either space or time efficient. In this paper, we give an algorithm for enumerating all spanning trees in a plane 3-tree that is optimal in both time and space. Our algorithm exploits the structure of a plane 3-tree for a conceptually simpler alternative to existing general-purpose algorithms and takes \(\mathcal {O}(n + m + \tau )\) time and \(\mathcal {O}(n)\) space, where the given graph has n vertices, m edges, and \(\tau \) spanning trees. This is a substantial improvement in both time and space complexity compared to the best-known algorithms for general graphs. We also propose a parallel algorithm for enumerating spanning trees of a plane 3-tree that has \(\mathcal {O}(n + m + \frac{n\tau }{p})\) time and \(\mathcal {O}(\frac{n\tau }{p})\) space complexities for p parallel processors. This second algorithm is useful when storing the spanning trees is important.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 64.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 84.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

References

  1. Brooks, R., Smith, C., Stone, A., Tutte, W.: Determinants and current flows in electric networks. Discret. Math. 100(1), 291–301 (1992). https://doi.org/10.1016/0012-365X(92)90648-Y

    Article  MathSciNet  MATH  Google Scholar 

  2. Char, J.: Generation of trees, two-trees, and storage of master forests. IEEE Trans. Circ. Theory 15(3), 228–238 (1968). https://doi.org/10.1109/TCT.1968.1082817

    Article  MathSciNet  Google Scholar 

  3. Chen, W.K.: Topological analysis for active networks. IEEE Trans. Circ. Theory 12(1), 85–91 (1965). https://doi.org/10.1109/TCT.1965.1082396

    Article  MathSciNet  Google Scholar 

  4. Deo, N.: Graph Theory with Applications to Engineering and Computer Science. Prentice Hall Series in Automatic Computation, Prentice-Hall Inc., USA (1974)

    MATH  Google Scholar 

  5. Gabow, H.N., Myers, E.W.: Finding all spanning trees of directed and undirected graphs. SIAM J. Comput. 7(3), 280–287 (1978). https://doi.org/10.1137/0207024

    Article  MathSciNet  MATH  Google Scholar 

  6. Hakimi, S., Green, D.: Generation and realization of trees and k-trees. IEEE Trans. Circ. Theory 11(2), 247–255 (1964). https://doi.org/10.1109/TCT.1964.1082276

    Article  Google Scholar 

  7. Hakimi, S.: On trees of a graph and their generation. J. Franklin Inst. 272(5), 347–359 (1961). https://doi.org/10.1016/0016-0032(61)90036-9

    Article  MathSciNet  MATH  Google Scholar 

  8. Kapoor, S., Ramesh, H.: Algorithms for enumerating all spanning trees of undirected and weighted graphs. SIAM J. Comput. 24(2), 247–265 (1995). https://doi.org/10.1137/S009753979225030X

    Article  MathSciNet  MATH  Google Scholar 

  9. Matsui, T.: An algorithm for finding all the spanning trees in undirected graphs (1998)

    Google Scholar 

  10. Mayeda, W., Seshu, S.: Generation of trees without duplications. IEEE Trans. Circ. Theory 12(2), 181–185 (1965). https://doi.org/10.1109/TCT.1965.1082432

    Article  MathSciNet  Google Scholar 

  11. Nagamochi, H., Ibaraki, T.: A linear-time algorithm for finding a sparse k-connected spanning subgraph of a k-connected graph. Algorithmica 7(5 &6), 583–596 (1992). https://doi.org/10.1007/BF01758778

    Article  MathSciNet  MATH  Google Scholar 

  12. Nishat, R.I., Mondal, D., Rahman, M.S.: Point-set embeddings of plane 3-trees. In: Brandes, U., Cornelsen, S. (eds.) GD 2010. LNCS, vol. 6502, pp. 317–328. Springer, Heidelberg (2011). https://doi.org/10.1007/978-3-642-18469-7_29

    Chapter  Google Scholar 

  13. Onete, C.E., Onete, M.C.C.: Enumerating all the spanning trees in an un-oriented graph - a novel approach. In: 2010 XIth International Workshop on Symbolic and Numerical Methods, Modeling and Applications to Circuit Design (SM2ACD), pp. 1–5 (2010). https://doi.org/10.1109/SM2ACD.2010.5672365

  14. Rakshit, A., Sarma, S.S., Sen, R.K., Choudhury, A.: An efficient tree-generation algorithm. IETE J. Res. 27(3), 105–109 (1981). https://doi.org/10.1080/03772063.1981.11452333

    Article  Google Scholar 

  15. Read, R., Tarjan, R.: Bounds on backtrack algorithms for listing cycles, paths, and spanning trees. Networks 5(3), 237–252 (1975). https://doi.org/10.1002/net.1975.5.3.237

    Article  MathSciNet  MATH  Google Scholar 

  16. Shioura, A., Tamura, A.: Efficiently scanning all spanning trees of an undirected graph. J. Oper. Res. Soc. Jpn. 38(3), 331–344 (1995). https://doi.org/10.15807/jorsj.38.331

    Article  MathSciNet  MATH  Google Scholar 

Download references

Acknowledgement

This work is supported by the Basic Research Grant of BUET.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Muhammad Nur Yanhaona .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Yanhaona, M.N., Nomaan, A.S., Rahman, M.S. (2023). Efficiently Enumerating All Spanning Trees of a Plane 3-Tree. In: Mavronicolas, M. (eds) Algorithms and Complexity. CIAC 2023. Lecture Notes in Computer Science, vol 13898. Springer, Cham. https://doi.org/10.1007/978-3-031-30448-4_26

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-30448-4_26

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-30447-7

  • Online ISBN: 978-3-031-30448-4

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy