Cargando…
An Efficient Algorithm to Count Tree-Like Graphs with a Given Number of Vertices and Self-Loops
Graph enumeration with given constraints is an interesting problem considered to be one of the fundamental problems in graph theory, with many applications in natural sciences and engineering such as bio-informatics and computational chemistry. For any two integers [Formula: see text] and [Formula:...
Autores principales: | , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
MDPI
2020
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7597174/ https://www.ncbi.nlm.nih.gov/pubmed/33286692 http://dx.doi.org/10.3390/e22090923 |
_version_ | 1783602282335567872 |
---|---|
author | Azam, Naveed Ahmed Shurbevski, Aleksandar Nagamochi, Hiroshi |
author_facet | Azam, Naveed Ahmed Shurbevski, Aleksandar Nagamochi, Hiroshi |
author_sort | Azam, Naveed Ahmed |
collection | PubMed |
description | Graph enumeration with given constraints is an interesting problem considered to be one of the fundamental problems in graph theory, with many applications in natural sciences and engineering such as bio-informatics and computational chemistry. For any two integers [Formula: see text] and [Formula: see text] , we propose a method to count all non-isomorphic trees with n vertices, [Formula: see text] self-loops, and no multi-edges based on dynamic programming. To achieve this goal, we count the number of non-isomorphic rooted trees with n vertices, [Formula: see text] self-loops and no multi-edges, in [Formula: see text] time and [Formula: see text] space, since every tree can be uniquely viewed as a rooted tree by either regarding its unicentroid as the root, or in the case of bicentroid, by introducing a virtual vertex on the bicentroid and assuming the virtual vertex to be the root. By this result, we get a lower bound and an upper bound on the number of tree-like polymer topologies of chemical compounds with any “cycle rank”. |
format | Online Article Text |
id | pubmed-7597174 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2020 |
publisher | MDPI |
record_format | MEDLINE/PubMed |
spelling | pubmed-75971742020-11-09 An Efficient Algorithm to Count Tree-Like Graphs with a Given Number of Vertices and Self-Loops Azam, Naveed Ahmed Shurbevski, Aleksandar Nagamochi, Hiroshi Entropy (Basel) Article Graph enumeration with given constraints is an interesting problem considered to be one of the fundamental problems in graph theory, with many applications in natural sciences and engineering such as bio-informatics and computational chemistry. For any two integers [Formula: see text] and [Formula: see text] , we propose a method to count all non-isomorphic trees with n vertices, [Formula: see text] self-loops, and no multi-edges based on dynamic programming. To achieve this goal, we count the number of non-isomorphic rooted trees with n vertices, [Formula: see text] self-loops and no multi-edges, in [Formula: see text] time and [Formula: see text] space, since every tree can be uniquely viewed as a rooted tree by either regarding its unicentroid as the root, or in the case of bicentroid, by introducing a virtual vertex on the bicentroid and assuming the virtual vertex to be the root. By this result, we get a lower bound and an upper bound on the number of tree-like polymer topologies of chemical compounds with any “cycle rank”. MDPI 2020-08-22 /pmc/articles/PMC7597174/ /pubmed/33286692 http://dx.doi.org/10.3390/e22090923 Text en © 2020 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/). |
spellingShingle | Article Azam, Naveed Ahmed Shurbevski, Aleksandar Nagamochi, Hiroshi An Efficient Algorithm to Count Tree-Like Graphs with a Given Number of Vertices and Self-Loops |
title | An Efficient Algorithm to Count Tree-Like Graphs with a Given Number of Vertices and Self-Loops |
title_full | An Efficient Algorithm to Count Tree-Like Graphs with a Given Number of Vertices and Self-Loops |
title_fullStr | An Efficient Algorithm to Count Tree-Like Graphs with a Given Number of Vertices and Self-Loops |
title_full_unstemmed | An Efficient Algorithm to Count Tree-Like Graphs with a Given Number of Vertices and Self-Loops |
title_short | An Efficient Algorithm to Count Tree-Like Graphs with a Given Number of Vertices and Self-Loops |
title_sort | efficient algorithm to count tree-like graphs with a given number of vertices and self-loops |
topic | Article |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7597174/ https://www.ncbi.nlm.nih.gov/pubmed/33286692 http://dx.doi.org/10.3390/e22090923 |
work_keys_str_mv | AT azamnaveedahmed anefficientalgorithmtocounttreelikegraphswithagivennumberofverticesandselfloops AT shurbevskialeksandar anefficientalgorithmtocounttreelikegraphswithagivennumberofverticesandselfloops AT nagamochihiroshi anefficientalgorithmtocounttreelikegraphswithagivennumberofverticesandselfloops AT azamnaveedahmed efficientalgorithmtocounttreelikegraphswithagivennumberofverticesandselfloops AT shurbevskialeksandar efficientalgorithmtocounttreelikegraphswithagivennumberofverticesandselfloops AT nagamochihiroshi efficientalgorithmtocounttreelikegraphswithagivennumberofverticesandselfloops |