Constant-Time Dynamic Enumeration of Word Infixes in a Regular Language
Antoine Amarilli, Sven Dziadek, Luc Segoufin

TL;DR
This paper presents a constant-time dynamic enumeration algorithm for infixes of a fixed regular language within a word, supporting updates efficiently, and characterizes the language classes where this is possible.
Contribution
It introduces a constant-time, memory-efficient algorithm for dynamic enumeration of infixes in certain regular languages, expanding understanding of language classes suitable for such algorithms.
Findings
Algorithms achieve constant delay and update time for specific language classes.
Characterizations of language classes allowing constant-memory dynamic enumeration.
Conditional lower bounds for extending results to larger language classes.
Abstract
For a fixed regular language , the enumeration of -infixes is the following task: we are given an input word and we must enumerate the infixes of that belong to , i.e., the pairs such that . We are interested in dynamic enumeration of -infixes, where we must additionally support letter substitution updates on (e.g., "replace the -th letter of by a letter "). Each update changes the set of infixes to enumerate, and resets the enumeration state. We study for which regular languages we can perform dynamic enumeration of -infixes in constant delay (i.e., the next infix is always produced in constant time) and constant additional memory throughout the enumeration, while supporting each update in constant time. We show that, for languages with a neutral letter, if the language belongs to the…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
Topicssemigroups and automata theory · Machine Learning and Algorithms · DNA and Biological Computing
