Abstract
A vertex set in a graph is a connected set if it induces a connected subgraph. For a tree T, each subgraph induced by a connected set of T is actually a subtree of T. The number and average size of subtrees of a tree T are two well-studied parameters. Yan and Yeh developed a linear-time algorithm for computing the number of subtrees in a tree through “generating function”. In this paper, we present linear-time algorithms for computing the number and average size of connected sets in a planar 3-tree.
Similar content being viewed by others
Data Availability
Data sharing not applicable to this article as no datasets were generated or analysed during the current study.
References
Beineke, L.W., Pippert, R.E.: The number of labeled \(k\)-dimensional trees. J. Comb. Theory 6, 200–205 (1969)
Bickle, A., Che, Z.: Wiener indices of maximal \(k\)-degenerate graphs. Graphs Combin. 37, 581–589 (2021)
Biedl, T., Ruiz Velazquez, L.E.: Drawing planar 3-trees with given face areas. Comput. Geom. 46, 276–285 (2013)
Bondy, J.A., Murty, U.S.R.: Graph Theory, Graduate Texts in Mathematics, vol. 244. Springer, New York (2008)
Che, Z., Collins, K.: An upper bound on Wiener indices of maximal planar graphs. Discr. Appl. Math. 258, 76–86 (2018)
de Ridder, H.N. et al.: Information system on graph classes and their inclusions (ISGCI). https://www.graphclasses.org 2001–2022 updated 22 Feb (2022)
Haslegrave, J.: The number and average size of connected sets in graphs with degree constraints. J. Graph Theory 100, 530–542 (2022)
Jamison, R.: On the average number of nodes in a subtree of a tree. J. Combin. Theory Ser. B 35, 207–223 (1983)
Jamison, R.: Monotonicity of the mean order of subtrees. J. Combin. Theory Ser. B 37, 70–78 (1984)
Kangas, K., Kaski, P., Korhonen, J.H., Koivisto, M.: On the number of connected sets in bounded degree graphs. Electron. J. Combin. 25, P4.34 (2018)
Kirk, R., Wang, H.: Largest number of subtrees of trees with a given maximum degree. SIAM J. Discrete Math. 22, 985–995 (2008)
Luo, Z., Xu, K., Wagner, S., Wang, H.: On the mean subtree order of trees under edge contraction. J. Graph Theory 102, 535–551 (2023)
Poureidi, A.: On computing the number of (BC-)subtrees, eccentric subtree number, and global and local means of trees. Inform. Process. Lett. 178, 106302 (2022)
Rose, D.J., Tarjan, R.E., Lueker, G.: Algorithmic aspects of vertex elimination on graphs. SIAM J. Comput. 5, 266–283 (1976)
Sun, D., Li, L., Liu, K., Wang, H., Yang, Y.: Enumeration of subtrees of planar two-tree networks. Appl. Math. Comput. 434, 127404 (2022)
Sutner, K., Satyanarayana, A., Suffel, C.: The complexity of the residual node connectedness reliability problem. SIAM J. Comput. 20, 149–155 (1991)
Székely, L.A., Wang, H.: On subtrees of trees. Adv. Appl. Math. 34, 138–155 (2005)
Székely, L.A., Wang, H.: Binary trees with the largest number of subtrees. Discr. Appl. Math. 155, 374–385 (2006)
Vince, A.: A lower bound on the average size of a connected vertex set of a graph. J. Combin. Theory Ser. B 152, 153–170 (2022)
Vince, A.: The average size of a connected vertex set of a graph-Explicit formulas and open problems. J. Graph Theory 97, 82–103 (2020)
Vince, A.: Counting connected sets and connected partitions of a graph. Australas. J. Combin. 67, 281–293 (2017)
Vince, A., Wang, H.: The average order of a subtree of a tree. J. Combin. Theory Ser. B 100, 161–170 (2010)
Wagner, S.: Correlation of graph-theoretical indices. SIAM J. Discr. Math. 21, 33–46 (2007)
Wagner, S., Wang, H.: On the local and global means of subtree orders. J. Graph Theory 81, 154–166 (2016)
Xu, K., Li, J., Wang, H.: The number of subtrees in graphs with given number of cut edges. Discr. Appl. Math. 304, 283–296 (2021)
Yan, W., Yeh, Y.N.: Enumeration of subtrees of trees. Theor. Comput. Sci. 369, 256–268 (2006)
Yang, Y., Chen, B., Zhang, G., Li, Y., Sun, D., Liu, H.: Algorithms based on path contraction carrying weights for enumerating subtrees of tricyclic graphs. Comput. J. 65, 554–572 (2022)
Yang, Y., Liu, H., Wang, H., Deng, A., Magnant, C.: On algorithms for enumerating subtrees of hexagonal and phenylene chains. Comput. J. 60, 690–710 (2017)
Zhang, Z., Wu, B., Comellas, F.: The number of spanning trees in Apollonian networks. Discr. Appl. Math. 169, 206–213 (2014)
Acknowledgements
The authors would like to thank anonymous referees for their careful reading and valuable suggestions, which have improved the presentation of this paper.
Funding
This work was supported by National Natural Science Foundation of China (No. 12271251).
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
Conflict of Interest
The authors declare that they have no conflict of interest.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Luo, Z., Xu, K. Computing the Number and Average Size of Connected Sets in Planar 3-Trees. Graphs and Combinatorics 40, 55 (2024). https://doi.org/10.1007/s00373-024-02783-8
Received:
Revised:
Accepted:
Published:
DOI: https://doi.org/10.1007/s00373-024-02783-8