arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2502.05529cs.DM
收藏

计数具有给定顶点数和多重边数的树状多重图

Counting Tree-Like Multigraphs with a Given Number of Vertices and Multiple Edges

Muhammad Ilyas, Seemab Hayat, Naveed Ahmed Azam

AI总结:

本文提出一种基于动态规划与质心规范表示的多重图计数方法,用于高效枚举给定顶点数和多重边数的树状多重图,实验证明其可处理多达170个顶点和50条多重边的规模。

摘要:

化学图的枚举是化学信息学和生物信息学中的一个重要课题,尤其是在新药发现领域。这些图通常是树状多重图,或者由连接到核心结构的树状多重图组成。在这两种情况下,树状组件在决定化学化合物的性质和活性方面都起着重要作用。本文介绍了一种基于动态规划的方法,用于高效计数具有给定顶点数 $n$ 和多重边数 $Δ$ 的树状多重图。我们方法的思想是,通过选择其单质心或双质心作为根,将多重图视为有根多重图,并基于根的子节点所根植的最大子图来定义它们的规范表示。这种表示保证了我们提出的方法在计数过程中不会重复计数同一个多重图。最后,根据根的子节点所根植的最大子图中的顶点数和多重边数,推导出递推关系。这些关系导出了一个时间复杂度为 $\mathcal{O}(n^2(n + Δ(n + Δ^2 \cdot \min\{n, Δ\})))$、空间复杂度为 $\mathcal{O}(n^2(Δ^3+1))$ 的算法。实验结果表明,所提出的算法能够高效地计数具有多达 170 个顶点和 50 条多重边的目标多重图,耗时约 930 秒,证实了其有效性,并表明其有潜力成为在新药发现中探索化学图空间的有价值工具。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑