arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2511.04258cs.DS
收藏

退化图中在常数空间内计数模式

Counting Patterns in Degenerate Graphs in Constant Space

IIT Gandhinagar(印度理工学院 gandhinagar);Université Libre de Bruxelles(布鲁塞尔自由大学)

Balagopal Komarath, Anant Kumar, Akash Pareek

AI总结:

本文引入DAG树深度参数,在常数空间内高效计数退化宿主图中的同态、子图同构和诱导子图同构,并给出模式图的诱导子图刻画。

摘要:

对于固定的模式图,我们研究计数同态、子图同构和诱导子图同构到$n$顶点$d$-退化宿主图中的算法复杂性。Bressan (Algorithmica, 2021) 引入了DAG树宽的概念,并表明使用需要多项式空间的动态规划可以高效地计数同态和诱导子图。在这项工作中,我们引入了一个新的图参数,称为DAG树深度,它使得在仅使用常数空间的$d$-退化宿主图中能够高效地使用分治算法计数同态。Bera, Gishboliner, Levanzov, Seshadhri 和 Shapira (SODA, 2021) 表明,一个模式图具有DAG树宽一当且仅当它不包含长度至少为六的诱导环。这个诱导子式刻画导致了线性时间和线性空间算法。基于这一系列工作,我们推导出了DAG树深度至多为二的图的诱导子式刻画,该刻画仅使用常数空间。最近,Paul-Pena 和 Seshadhri (ICALP, 2025) 证明了所有最多九个顶点的模式图可以在次二次时间内使用多项式空间进行计数。我们表明,每个最多九个顶点的模式图可以在$O(n^3)$时间内仅使用常数空间作为诱导子图进行计数。此外,我们表明,最多十一个顶点的模式图可以在$O(n^2)$时间内使用多项式空间进行计数。最后,我们提出了一种常数空间算法,用于计数诱导子图,其运行时间与Bressan算法相匹配。我们进一步表明,当允许多项式空间时,同态、子图同构和诱导子图同构可以比Bressan算法更快地计数。此外,我们还建立了与DAG树宽和DAG树深度相关的其他几个结果,这些结果可能具有独立的意义。

英文摘要:

For a fixed pattern graph, we study the algorithmic complexity of counting homomorphisms, subgraph isomorphisms, and induced subgraph isomorphisms into an $n$-vertex, $d$-degenerate host graph. Bressan (Algorithmica, 2021) introduced the notion of DAG treewidth and showed that counting homomorphisms and induced subgraphs can be performed efficiently using dynamic programming that requires polynomial space. In this work, we introduce a new graph parameter, called DAG treedepth, which enables efficient divide-and-conquer algorithms for counting homomorphisms in $d$-degenerate host graphs using only constant space. Bera, Gishboliner, Levanzov, Seshadhri, and Shapira (SODA, 2021) showed that a pattern graph has DAG treewidth one if and only if it contains no induced cycle of length at least six. This induced minor characterization leads to linear-time and linear-space algorithms. Building on this line of work, we derive an induced-minor characterization of graphs with DAG treedepth at most two that uses only constant space. Recently, Paul-Pena and Seshadhri (ICALP, 2025) proved that all pattern graphs on at most nine vertices can be counted in subquadratic time using polynomial space. We show that every pattern graph on at most nine vertices can be counted as an induced subgraph in $O(n^3)$ time using only constant space. Moreover, we show that patterns on at most eleven vertices can be counted in $O(n^2)$ time using polynomial space. Finally, we present a constant-space algorithm for counting induced subgraphs that matches the running time of Bressan algorithm. We further show that, when polynomial space is allowed, homomorphisms, subgraph isomorphisms, and induced subgraph isomorphisms can be counted faster than Bressan algorithm. In addition, we establish several other results related to DAG treewidth and DAG treedepth that may be of independent interest.

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

↑