计算机科学 > 数据结构与算法
[提交于 2024年1月8日]
标题:Enumerating m-Length Walks in Directed Graphs with Constant Delay
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:In this paper, we provide a novel enumeration algorithm for the set of all walks of a given length within a directed graph. Our algorithm has worst-case constant delay between outputting succinct representations of such walks, after a preprocessing step requiring linear time relative to the size of the graph. We apply these results to the problem of enumerating succinct representations of the strings of a given length from a prefix-closed regular language (languages accepted by a finite automaton which has final states only).
提交历史
来自:Duncan Adamson[v1] 2024年1月8日 星期一 00:00:00 UTC