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 条
  • [31] Bidirectionally decodable streams of prefix code-words
    Girod, B
    [J]. IEEE COMMUNICATIONS LETTERS, 1999, 3 (08) : 245 - 247
  • [32] Asymptotic normality and combinatorial aspects of the prefix exchange distance distribution
    Grusea, Simona
    Labarre, Anthony
    [J]. ADVANCES IN APPLIED MATHEMATICS, 2016, 78 : 94 - 113
  • [33] Speculative carry generation with prefix adder
    Choi, Youngmoon
    Swartzlander, Earl E., Jr.
    [J]. IEEE TRANSACTIONS ON VERY LARGE SCALE INTEGRATION (VLSI) SYSTEMS, 2008, 16 (03) : 321 - 326
  • [34] Synthesis for Prefix First-Order Logic on Data Words
    Grange, Julien
    Lehaut, Mathieu
    [J]. FORMAL TECHNIQUES FOR DISTRIBUTED OBJECTS, COMPONENTS, AND SYSTEMS, FORTE 2024, 2024, 14678 : 82 - 98
  • [35] Combinatorial properties of smooth infinite words
    Brlek, S
    Dulucq, S
    Ladouceur, A
    Vuillon, L
    [J]. THEORETICAL COMPUTER SCIENCE, 2006, 352 (1-3) : 306 - 317
  • [36] A note on the longest common compatible prefix problem for partial words
    Crochemore, M.
    Iliopoulos, C. S.
    Kociumaka, T.
    Kubica, M.
    Langiu, A.
    Radoszewski, J.
    Rytter, W.
    Szreder, B.
    Walen, T.
    [J]. JOURNAL OF DISCRETE ALGORITHMS, 2015, 34 : 49 - 53
  • [37] SOME COMBINATORIAL PROPERTIES OF STURMIAN WORDS
    DELUCA, A
    MIGNOSI, F
    [J]. THEORETICAL COMPUTER SCIENCE, 1994, 136 (02) : 361 - 385
  • [38] Combinatorial Queries and Updates on Partial Words
    Diaconu, Adrian
    Manea, Florin
    Tiseanu, Catalin
    [J]. FUNDAMENTALS OF COMPUTATION THEORY, PROCEEDINGS, 2009, 5699 : 96 - 108
  • [39] AN ANSWER TO A QUESTION ABOUT FINITE MAXIMAL PREFIX SETS OF WORDS
    BRUYERE, V
    [J]. THEORETICAL COMPUTER SCIENCE, 1988, 56 (03) : 339 - 344
  • [40] Prefix Rewriting for Nested-Words and Collapsible Pushdown Automata
    Broadbent, Christopher
    [J]. AUTOMATA, LANGUAGES, AND PROGRAMMING, ICALP 2012, PT II, 2012, 7392 : 153 - 164