Bubble-Flip---A New Generation Algorithm for Prefix Normal Words

12/15/2017
by   Ferdinando Cicalese, et al.
0

We present a new recursive generation algorithm for prefix normal words. These are binary strings with the property that no substring has more 1s than the prefix of the same length. The new algorithm uses two operations on binary strings, which exploit certain properties of prefix normal words in a smart way. We introduce infinite prefix normal words and show that one of the operations used by the algorithm, if applied repeatedly to extend the string, produces an ultimately periodic infinite word, which is prefix normal and whose period's length and density we can predict from the original word.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
03/05/2020

Generating a Gray code for prefix normal words in amortized polylogarithmic time per word

A prefix normal word is a binary word with the property that no substrin...
research
09/10/2020

A Normal Sequence Compressed by PPM^* but not by Lempel-Ziv 78

In this paper we compare the difference in performance of two of the Pre...
research
05/31/2018

On Prefix Normal Words

We present a new class of binary words: the prefix normal words. They ar...
research
05/08/2021

Inside the Binary Reflected Gray Code: Flip-Swap Languages in 2-Gray Code Order

A flip-swap language is a set S of binary strings of length n such that ...
research
09/27/2018

Towards a classification of Lindenmayer systems

In this paper we will attempt to classify Lindenmayer systems based on p...
research
05/16/2022

On the rigidity of Arnoux-Rauzy words

An infinite word generated by a substitution is rigid if all the substit...
research
08/19/2019

The Natural Selection of Words: Finding the Features of Fitness

We introduce a dataset for studying the evolution of words, constructed ...

Please sign up or login with your details

Forgot password? Click here to reset