University of Leicester
Browse
JV_genalgo-els.pdf (354.82 kB)

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

Download (354.82 kB)
journal contribution
posted on 2020-06-26, 14:54 authored by Peter Burcsi, Gabriele Fici, Zsuzsanna Liptak, Rajeev Raman, Joe Sawada
A prefix normal word is a binary word with the property that no substring has more 1s than the prefix of the same length. By proving that the set of prefix normal words is a bubble language, we can exhaustively list all prefix normal words of length nas a combinatorial Gray code, where successive strings differ by at most two swaps or bit flips. This Gray code can be generated in O (log2n) amortized time per word, while the best generation algorithm hither to has O (n) running time per word. We also present a membership tester for prefix normal words, as well as a novel characterization of bubble languages.

History

Citation

Theoretical Computer Science Volume 842, 24 November 2020, Pages 86-99

Author affiliation

Department of Informatics

Version

  • AM (Accepted Manuscript)

Published in

Theoretical Computer Science

Volume

842

Pagination

86-99

Publisher

Elsevier

issn

0304-3975

Acceptance date

2020-06-16

Copyright date

2020

Available date

2021-08-04

Language

en

Usage metrics

    University of Leicester Publications

    Categories

    Exports

    RefWorks
    BibTeX
    Ref. manager
    Endnote
    DataCite
    NLM
    DC