English

Enumerating m-Length Walks in Directed Graphs with Constant Delay

Data Structures and Algorithms 2024-01-08 v2

Abstract

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).

Keywords

Cite

@article{arxiv.2401.02163,
  title  = {Enumerating m-Length Walks in Directed Graphs with Constant Delay},
  author = {Duncan Adamson and Pawel Gawrychowski and Florin Manea},
  journal= {arXiv preprint arXiv:2401.02163},
  year   = {2024}
}
R2 v1 2026-06-28T14:08:31.284Z