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

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

Ferdinando Cicalese;Zsuzsanna Lipták;ROSSI, MASSIMILIANO
2017-01-01

Abstract

We present a new recursive generation algorithm for prefix normal words.These are binary strings with the property that no substring has more 1s thanthe prefix of the same length. The new algorithm uses two operations on binarystrings, which exploit certain properties of prefix normal words in a smartway. We introduce infinite prefix normal words and show that one of theoperations used by the algorithm, if applied repeatedly to extend the string,produces an ultimately periodic infinite word, which is prefix normal and whoseperiod's length and density we can predict from the original word.
2017
Computer Science - Data Structures and Algorithms; Computer Science - Data Structures and Algorithms
File in questo prodotto:
Non ci sono file associati a questo prodotto.

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11562/972643
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus ND
  • ???jsp.display-item.citation.isi??? ND
social impact