The enumeration of chemical graphs is an important topic in cheminformatics and bioinformatics, particularly in the discovery of novel drugs. These graphs are typically either tree-like multigraphs or composed of tree-like multigraphs connected to a core structure. In both cases, the tree-like components play a significant role in determining the properties and activities of chemical compounds. This paper introduces a method based on dynamic programming to efficiently count tree-like multigraphs with a given number $n$ of vertices and $Δ$ multiple edges. The idea of our method is to consider multigraphs as rooted multigraphs by selecting their unicentroid or bicentroid as the root, and define their canonical representation based on maximal subgraphs rooted at the children of the root. This representation guarantees that our proposed method will not repeat a multigraph in the counting process. Finally, recursive relations are derived based on the number of vertices and multiple edges in the maximal subgraphs rooted at the children of roots. These relations lead to an algorithm with a time complexity of $\mathcal{O}(n^2(n + Δ(n + Δ^2 \cdot \min\{n, Δ\})))$ and a space complexity of $\mathcal{O}(n^2(Δ^3+1))$. Experimental results show that the proposed algorithm efficiently counts the desired multigraphs with up to 170 vertices and 50 multiple edges in approximately 930 seconds, confirming its effectiveness and potential as a valuable tool for exploring the chemical graph space in novel drug discovery.
Interval non-edge-colorable bipartite graphs and multigraphs
一个图$G$的边染色称为区间$t$ -染色,如果所有的颜色都被使用,并且关联到$G$的任何顶点的边的颜色都是不同的,并且形成一个整数区间。1991年Erdens构造了一个顶点数为27,最大度为13的无区间着色的二部图. Erd的反例是已知的最小(在最大度意义下)的非区间可着色的二部图. 1992年,Hansen证明了所有最大度不超过3的二部图都有区间着色。本文给出了区间非边着色二部图的一些构造方法。特别地,利用这些方法,我们构造了三个无区间着色的二部图,它们分别含有20,19,21个顶点,最大度分别为11,12,13.这部分地回答了[T. R.詹森湾Toft,Graph coloring problems,Wiley Interscience Series in Discrete Mathematics and Optimization,1995年,第204页]。我们也考虑类似的问题,二部多重图。