Testing primitivity on partial words

被引:9
|
作者
Blanchet-Sadri, F. [1 ]
Anavekar, Arundhati R. [1 ]
机构
[1] Univ N Carolina, Dept Math Sci, Greensboro, NC 27402 USA
关键词
combinatorics on words; words; partial words; primitive words; primitive partial words; special partial words; compatibility; algorithm;
D O I
10.1016/j.dam.2006.07.001
中图分类号
O29 [应用数学];
学科分类号
070104 ;
摘要
primitive words. or strings over a finite alphabet that cannot be written as a power of another string, play an important role in numerous research areas including formal language theory, coding theory, and combinatorics on words. Testing whether or not a word is primitive can be done in linear time in the length of the word. Indeed, a word is primitive if and only if it is not an inside factor of its square. In this paper, we describe a linear time algorithm to test primitivity on partial words which are strings that may contain a number of "do not know" symbols. Our algorithm is based on the combinatorial result that under some condition, a partial word is primitive if and only if it is not compatible with an inside factor of its square. The concept of Special, related to commutativity on partial words, is foundational in the design of our algorithm. A World Wide Web server interface at http: //www.uncg.edu/mat/primitive/ has been established for automated use of the program. (c) 2006 Elsevier B.V. All rights reserved.
引用
收藏
页码:279 / 287
页数:9
相关论文
共 50 条
  • [1] Squares and primitivity in partial words
    Blanchet-Sadri, F.
    Bodnar, Michelle
    Nikkel, Jordan
    Quigley, J. D.
    Zhang, Xufan
    DISCRETE APPLIED MATHEMATICS, 2015, 185 : 26 - 37
  • [2] Generalized periodicity and primitivity for words
    Ito, Masarni
    Lischke, Gerhard
    MATHEMATICAL LOGIC QUARTERLY, 2007, 53 (01) : 91 - 106
  • [3] Some operations preserving primitivity of words
    Dassow, Juergen
    Martin, Gema M.
    Vico, Francisco J.
    THEORETICAL COMPUTER SCIENCE, 2009, 410 (30-32) : 2910 - 2919
  • [4] Corrigendum to "generalized periodicity and primitivity for words"
    Ito, Masami
    Lischke, Gerhard
    MATHEMATICAL LOGIC QUARTERLY, 2007, 53 (06) : 642 - 643
  • [5] COMPLEXITY OF TESTING MORPHIC PRIMITIVITY
    Holub, Stepan
    Matocha, Vojtech
    KYBERNETIKA, 2013, 49 (02) : 216 - 223
  • [6] Testing matrix groups for primitivity
    Holt, DF
    LeedhamGreen, CR
    OBrien, EA
    Rees, S
    JOURNAL OF ALGEBRA, 1996, 184 (03) : 795 - 817
  • [7] Test words, generic elements and almost primitivity
    Fine, B
    Rosenberger, G
    Spellman, D
    Stille, M
    PACIFIC JOURNAL OF MATHEMATICS, 1999, 190 (02) : 277 - 297
  • [8] Testing avoidability on sets of partial words is hard
    Blanchet-Sadri, F.
    Jungers, Raphael M.
    Palumbo, Justin
    THEORETICAL COMPUTER SCIENCE, 2009, 410 (8-10) : 968 - 972
  • [9] Primitivity testing of finite nilpotent linear groups
    Rossmann, Tobias
    LMS JOURNAL OF COMPUTATION AND MATHEMATICS, 2011, 14 : 87 - 98
  • [10] Primitivity and Local Primitivity of Digraphs and Nonnegative Matrices
    Fomichev V.M.
    Avezova Y.E.
    Koreneva A.M.
    Kyazhin S.N.
    Journal of Applied and Industrial Mathematics, 2018, 12 (3) : 453 - 469