计算机科学 > 数据结构与算法
[提交于 2025年12月9日 (v1),最后修订于 2026年7月17日 (此版本, v4)]
标题:Finding All Bounded-Length Simple Cycles in a Directed Graph -- Revisited
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:In 2021, Gupta and Suzumura proposed a novel algorithm for enumerating all bounded-length simple cycles in directed graphs (arXiv:2105.10094). In this work, we present a concrete counter-example demonstrating that the proposed algorithm fails to enumerate certain valid cycles. Analyzing it, we pinpoint the precise step at which the original correctness proof breaks down. We also identify a gap in the original proof of the delay bound claimed. Finally, we propose algorithm SimpleSearch avoiding these flaws by construction, while achieving the delay bound $O(k(n + m))$ per cycle output or termination; where $k$ is the length bound, $n$ the number of nodes, and $m$ the number of edges in the finite simple directed graph $G$.