On combinatorial generation of prefix normal words
From MaRDI portal
Abstract: A prefix normal word is a binary word with the property that no substring has more 1s than the prefix of the same length. This class of words is important in the context of binary jumbled pattern matching. In this paper we present an efficient algorithm for exhaustively listing the prefix normal words with a fixed length. The algorithm is based on the fact that the language of prefix normal words is a bubble language, a class of binary languages with the property that, for any word w in the language, exchanging the first occurrence of 01 by 10 in w results in another word in the language. We prove that each prefix normal word is produced in O(n) amortized time, and conjecture, based on experimental evidence, that the true amortized running time is O(polylog(n)).
Recommendations
Cited in
(11)- Leaf realization problem, caterpillar graphs and prefix normal words
- Generating a Gray code for prefix normal words in amortized polylogarithmic time per word
- The asymptotic number of prefix normal words
- On prefix normal words
- Bubble-flip -- a new generation algorithm for prefix normal words
- On infinite prefix normal words
- Bubble-flip -- a new generation algorithm for prefix normal words
- Weighted prefix normal words
- Word chain generators for prefix normal words
- On prefix normal words and prefix normal forms
- Weighted prefix normal words: mind the gap
This page was built for publication: On combinatorial generation of prefix normal words
Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q5165591)