On Combinatorial Generation of Prefix Normal Words

被引:0
|
作者
Burcsi, Peter [1 ]
Fici, Gabriele [2 ]
Liptak, Zsuzsanna [3 ]
Ruskey, Frank [4 ]
Sawada, Joe [5 ]
机构
[1] Eotvos Lorand Univ, Dept Comp Algebra, Budapest, Hungary
[2] Univ Palermo, Dipartimento Matemat Informat, Palermo, Italy
[3] Univ Verona, Dipartimento Informat, Verona, Italy
[4] Univ Victoria, Dept Comp Sci, Victoria, BC, Canada
[5] Univ Guelph, Sch Comp Sci, Guelph, ON, Canada
来源
关键词
D O I
暂无
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
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(log(n)).
引用
收藏
页码:60 / 69
页数:10
相关论文
共 50 条
  • [1] On prefix normal words and prefix normal forms
    Burcsi, Peter
    Fici, Gabriele
    Liptak, Zsuzsanna
    Ruskey, Frank
    Sawada, Joe
    [J]. THEORETICAL COMPUTER SCIENCE, 2017, 659 : 1 - 13
  • [2] On Infinite Prefix Normal Words
    Cicalese, Ferdinando
    Liptak, Zsuzsanna
    Rossi, Massimiliano
    [J]. THEORY AND PRACTICE OF COMPUTER SCIENCE, SOFSEM 2019, 2019, 11376 : 122 - 135
  • [3] On infinite prefix normal words
    Cicalese, Ferdinando
    Liptak, Zsuzsanna
    Rossi, Massimiliano
    [J]. THEORETICAL COMPUTER SCIENCE, 2021, 859 : 134 - 148
  • [4] Bubble-Flip-A New Generation Algorithm for Prefix Normal Words
    Cicalese, Ferdinando
    Liptak, Zsuzsanna
    Rossi, Massimiliano
    [J]. LANGUAGE AND AUTOMATA THEORY AND APPLICATIONS (LATA 2018), 2018, 10792 : 207 - 219
  • [5] Bubble-Flip-A new generation algorithm for prefix normal words
    Cicalese, Ferdinando
    Liptak, Zsuzsanna
    Rossi, Massimiliano
    [J]. THEORETICAL COMPUTER SCIENCE, 2018, 743 : 38 - 52
  • [6] The asymptotic number of prefix normal words
    Balister, Paul
    Gerke, Stefanie
    [J]. THEORETICAL COMPUTER SCIENCE, 2019, 784 : 75 - 80
  • [7] Weighted Prefix Normal Words: Mind the Gap
    Eikmeier, Yannik
    Fleischmann, Pamela
    Kulczynski, Mitja
    Nowotka, Dirk
    [J]. DEVELOPMENTS IN LANGUAGE THEORY, DLT 2021, 2021, 12811 : 143 - 154
  • [8] Leaf realization problem, caterpillar graphs and prefix normal words
    Masse, Alexandre Blondin
    de Carufel, Julien
    Goupil, Alain
    Lapointe, Melodie
    Nadeau, Emile
    Vandomme, Elise
    [J]. THEORETICAL COMPUTER SCIENCE, 2018, 732 : 1 - 13
  • [9] Generation of isolated words by normal subjects
    Cardebat, D
    Candelon, N
    Kuznierek, L
    Viallard, G
    Démonet, JF
    Lambert, J
    [J]. ACTA NEUROLOGICA BELGICA, 2000, 100 (01) : 24 - 33
  • [10] A note on prefix primitive words
    Chen-Ming Fan
    C. C. Huang
    [J]. Acta Informatica, 2010, 47 : 413 - 423