Counting Homomorphic Cycles in Degenerate Graphs

IF 0.9 3区 计算机科学 Q3 COMPUTER SCIENCE, THEORY & METHODS ACM Transactions on Algorithms Pub Date : 2023-02-20 DOI:https://dl.acm.org/doi/10.1145/3560820
Lior Gishboliner, Yevgeny Levanzov, Asaf Shapira, Raphael Yuster
{"title":"Counting Homomorphic Cycles in Degenerate Graphs","authors":"Lior Gishboliner, Yevgeny Levanzov, Asaf Shapira, Raphael Yuster","doi":"https://dl.acm.org/doi/10.1145/3560820","DOIUrl":null,"url":null,"abstract":"<p>Since counting subgraphs in general graphs is, by and large, a computationally demanding problem, it is natural to try and design fast algorithms for restricted families of graphs. One such family that has been extensively studied is that of graphs of bounded degeneracy (e.g., planar graphs). This line of work, which started in the early 80’s, culminated in a recent work of Gishboliner et al., which highlighted the importance of the task of counting homomorphic copies of cycles (i.e., cyclic walks) in graphs of bounded degeneracy.</p><p>Our main result in this paper is a surprisingly tight relation between the above task and the well-studied problem of <i>detecting (standard) copies</i> of directed cycles in <i>general directed</i> graphs. More precisely, we prove the following:\n<p><ul><li><p>One can compute the number of homomorphic copies of <i>C<sub>2k</sub></i> and <i>C<sub>2k+1</sub></i> in <i>n</i>-vertex graphs of bounded degeneracy in time Õ(<i>n<sup>d<sub>k</sub></sup></i>), where the fastest <i>known</i> algorithm for detecting directed copies of <i>C<sub>k</sub></i> in general <i>m</i>-edge digraphs runs in time Õ(<i>m<sup>d<sub>k</sub></sup></i>).</p></li><li><p>Conversely, one can transform any <i>O(n<sup>b<sub>k</sub></sup>)</i> algorithm for computing the number of homomorphic copies of <i>C<sub>2k</sub></i> or of <i>C<sub>2k+1</sub></i> in <i>n</i>-vertex graphs of bounded degeneracy, into an Õ(<i>m<sup>b<sub>k</sub></sup></i>) time algorithm for detecting directed copies of <i>C<sub>k</sub></i> in general <i>m</i>-edge digraphs.</p></li></ul></p></p><p>We emphasize that our first result does not use a black-box reduction (as opposed to the second result which does). Instead, we design an algorithm for computing the number of <i>C<sub>k</sub></i>-homomorphisms in degenerate graphs and show that one part of its <i>analysis</i> can be reduced to the analysis of the fastest known algorithm for detecting directed cycles in general digraphs, which was carried out in a recent breakthrough of Dalirrooyfard, Vuong and Vassilevska Williams. As a by-product of our algorithm, we obtain a new algorithm for detecting <i>k</i>-cycles in directed and undirected graphs of bounded degeneracy that is faster than all previously known algorithms for 7 ≤ <i>k</i> ≤ 11, and faster for all <i>k</i> ≥ 7 if the matrix multiplication exponent is 2.</p>","PeriodicalId":50922,"journal":{"name":"ACM Transactions on Algorithms","volume":"1 1","pages":""},"PeriodicalIF":0.9000,"publicationDate":"2023-02-20","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"ACM Transactions on Algorithms","FirstCategoryId":"94","ListUrlMain":"https://doi.org/https://dl.acm.org/doi/10.1145/3560820","RegionNum":3,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"COMPUTER SCIENCE, THEORY & METHODS","Score":null,"Total":0}
引用次数: 0

Abstract

Since counting subgraphs in general graphs is, by and large, a computationally demanding problem, it is natural to try and design fast algorithms for restricted families of graphs. One such family that has been extensively studied is that of graphs of bounded degeneracy (e.g., planar graphs). This line of work, which started in the early 80’s, culminated in a recent work of Gishboliner et al., which highlighted the importance of the task of counting homomorphic copies of cycles (i.e., cyclic walks) in graphs of bounded degeneracy.

Our main result in this paper is a surprisingly tight relation between the above task and the well-studied problem of detecting (standard) copies of directed cycles in general directed graphs. More precisely, we prove the following:

  • One can compute the number of homomorphic copies of C2k and C2k+1 in n-vertex graphs of bounded degeneracy in time Õ(ndk), where the fastest known algorithm for detecting directed copies of Ck in general m-edge digraphs runs in time Õ(mdk).

  • Conversely, one can transform any O(nbk) algorithm for computing the number of homomorphic copies of C2k or of C2k+1 in n-vertex graphs of bounded degeneracy, into an Õ(mbk) time algorithm for detecting directed copies of Ck in general m-edge digraphs.

We emphasize that our first result does not use a black-box reduction (as opposed to the second result which does). Instead, we design an algorithm for computing the number of Ck-homomorphisms in degenerate graphs and show that one part of its analysis can be reduced to the analysis of the fastest known algorithm for detecting directed cycles in general digraphs, which was carried out in a recent breakthrough of Dalirrooyfard, Vuong and Vassilevska Williams. As a by-product of our algorithm, we obtain a new algorithm for detecting k-cycles in directed and undirected graphs of bounded degeneracy that is faster than all previously known algorithms for 7 ≤ k ≤ 11, and faster for all k ≥ 7 if the matrix multiplication exponent is 2.

查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
退化图中同态环的计数
由于一般图中的子图计数总体上是一个计算要求很高的问题,因此很自然地尝试为受限制的图族设计快速算法。有界简并图(如平面图)就是这样一个被广泛研究的族。这一行的工作,开始于80年代早期,在Gishboliner等人最近的工作中达到高潮,该工作强调了在有界简并图中计算循环的同态副本(即循环行走)的任务的重要性。我们在本文中的主要结果是上述任务与在一般有向图中检测有向环(标准)副本的问题之间有着惊人的紧密关系。更准确地说,我们证明了以下内容:我们可以计算有界退化的n顶点图中C2k和C2k+1的同态副本的数量Õ(ndk),其中在一般m边有向图中检测Ck的有向副本的已知最快算法运行时间Õ(mdk)。相反,我们可以将任何O(nbk)算法用于计算有界退化的n顶点图中C2k或C2k+1的同态副本的数量,转化为用于检测一般m边有向图中Ck的有向副本的Õ(mbk)时间算法。我们强调我们的第一个结果没有使用黑盒约简(与第二个结果相反)。相反,我们设计了一种计算退化图中ck同态数的算法,并表明其分析的一部分可以简化为对已知最快的一般有向图中有向环检测算法的分析,该算法在Dalirrooyfard, Vuong和Vassilevska Williams最近的突破中进行。作为该算法的副产品,我们得到了一种检测有界退化的有向图和无向图中k圈的新算法,该算法在7≤k≤11时比所有已知的算法都快,并且当矩阵乘法指数为2时,对于所有k≥7的算法都快。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
ACM Transactions on Algorithms
ACM Transactions on Algorithms COMPUTER SCIENCE, THEORY & METHODS-MATHEMATICS, APPLIED
CiteScore
3.30
自引率
0.00%
发文量
50
审稿时长
6-12 weeks
期刊介绍: ACM Transactions on Algorithms welcomes submissions of original research of the highest quality dealing with algorithms that are inherently discrete and finite, and having mathematical content in a natural way, either in the objective or in the analysis. Most welcome are new algorithms and data structures, new and improved analyses, and complexity results. Specific areas of computation covered by the journal include combinatorial searches and objects; counting; discrete optimization and approximation; randomization and quantum computation; parallel and distributed computation; algorithms for graphs, geometry, arithmetic, number theory, strings; on-line analysis; cryptography; coding; data compression; learning algorithms; methods of algorithmic analysis; discrete algorithms for application areas such as biology, economics, game theory, communication, computer systems and architecture, hardware design, scientific computing
期刊最新文献
Deterministic Replacement Path Covering On the complexity of symmetric vs. functional PCSPs Scattering and Sparse Partitions, and their Applications Quantum Speed-ups for String Synchronizing Sets, Longest Common Substring, and \(k\) -mismatch Matching On Computing the \(k\) -Shortcut Fréchet Distance
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1