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 条
  • [41] UNLIKELY + 33 WORDS WITH PREFIX UN THATS THE NAME OF THE GAME
    TUPPERWAY, W
    [J]. VERBATIM, 1980, 7 (01): : 13 - 13
  • [42] Focused Prefix Tuning for Controllable Text Generation
    Ma, Congda
    Zhao, Tianyu
    Shing, Makoto
    Sawada, Kei
    Okumura, Manabu
    [J]. 61ST CONFERENCE OF THE THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS, ACL 2023, VOL 2, 2023, : 1116 - 1127
  • [43] Generation of Combinatorial Structures
    Brlek, Srecko
    Reutenauer, Christophe
    Penaud, Jean-Guy
    [J]. THEORETICAL COMPUTER SCIENCE, 2013, 502 : 1 - 3
  • [44] Attic Orators and several juridicial words: Distributional and prefix conditioning factors
    Calero Secall, Ines
    [J]. EMERITA, 2007, 75 (01) : 113 - 136
  • [45] Identities on Algebras and Combinatorial Properties of Binary Words
    M. V. Zaicev
    D. D. Repovš
    [J]. Doklady Mathematics, 2019, 100 : 558 - 559
  • [46] Identities on Algebras and Combinatorial Properties of Binary Words
    Zaicev, M. V.
    Repovs, D. D.
    [J]. DOKLADY MATHEMATICS, 2019, 100 (03) : 558 - 559
  • [47] COMBINATORIAL PROBLEM OF POST WITH 2 PAIRS OF WORDS
    PAVLENKO, VA
    [J]. DOPOVIDI AKADEMII NAUK UKRAINSKOI RSR SERIYA A-FIZIKO-MATEMATICHNI TA TECHNICHNI NAUKI, 1981, (07): : 9 - 11
  • [48] Combinatorial properties of Fibonacci partial words and arrays
    Kumari, R. Krishna
    Arulprakasam, R.
    Dare, V. R.
    [J]. JOURNAL OF DISCRETE MATHEMATICAL SCIENCES & CRYPTOGRAPHY, 2021, 24 (04): : 1007 - 1020
  • [49] Normal order: Combinatorial graphs
    Solomon, AI
    Blasiak, P
    Horzela, A
    Penson, KA
    Duchamp, G
    [J]. QUANTUM THEORY AND SYMMETRIES, 2004, : 398 - 406
  • [50] Normal surfaces as combinatorial slicings
    Spreer, Jonathan
    [J]. DISCRETE MATHEMATICS, 2011, 311 (14) : 1295 - 1309