An Efficient Algorithm to Count Tree-Like Graphs with a Given Number of Vertices and Self-Loops.

Entropy (Basel)

Department of Applied Mathematics and Physics, Kyoto University, Kyoto 606-8502, Japan.

Published: August 2020

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 n≥1 and Δ≥0, we propose a method to count all non-isomorphic trees with vertices, Δ self-loops, and no multi-edges based on dynamic programming. To achieve this goal, we count the number of non-isomorphic rooted trees with vertices, Δ self-loops and no multi-edges, in O(n2(n+Δ(n+Δ·min{n,Δ}))) time and O(n2(Δ2+1)) 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".

Download full-text PDF

Source
http://www.ncbi.nlm.nih.gov/pmc/articles/PMC7597174PMC
http://dx.doi.org/10.3390/e22090923DOI Listing

Publication Analysis

Top Keywords

vertices self-loops
12
trees vertices
8
self-loops multi-edges
8
virtual vertex
8
efficient algorithm
4
algorithm count
4
count tree-like
4
tree-like graphs
4
graphs number
4
number vertices
4

Similar Publications

Want AI Summaries of new PubMed Abstracts delivered to your In-box?

Enter search terms and have AI summaries delivered each week - change queries or unsubscribe any time!