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 条
  • [21] ON PRIMITIVITY THEOREM
    SABATIER, G
    BULLETIN DE LA SOCIETE FRANCAISE MINERALOGIE ET DE CRISTALLOGRAPHIE, 1977, 100 (01): : 3 - 5
  • [22] The hardness of counting full words compatible with partial words
    Manea, Florin
    Tiseanu, Catalin
    JOURNAL OF COMPUTER AND SYSTEM SCIENCES, 2013, 79 (01) : 7 - 22
  • [23] Abelian repetitions in partial words
    Blanchet-Sadri, F.
    Simmons, Sean
    Xu, Dimin
    ADVANCES IN APPLIED MATHEMATICS, 2012, 48 (01) : 194 - 214
  • [24] Border Correlations of Partial Words
    Blanchet-Sadri, F.
    Clader, E.
    Simpson, O.
    THEORY OF COMPUTING SYSTEMS, 2010, 47 (01) : 179 - 195
  • [25] Unavoidable Sets of Partial Words
    Blanchet-Sadri, F.
    Brownstein, N. C.
    Kalcic, Andy
    Palumbo, Justin
    Weyand, T.
    THEORY OF COMPUTING SYSTEMS, 2009, 45 (02) : 381 - 406
  • [26] Squares in Binary Partial Words
    Blanchet-Sadri, Francine
    Jiao, Yang
    Machacek, John M.
    DEVELOPMENTS IN LANGUAGE THEORY (DLT 2012), 2012, 7410 : 404 - 415
  • [27] ALGORITHMIC COMBINATORICS ON PARTIAL WORDS
    Blanchet-Sadri, F.
    INTERNATIONAL JOURNAL OF FOUNDATIONS OF COMPUTER SCIENCE, 2012, 23 (06) : 1189 - 1206
  • [28] A Note on Pcodes of Partial Words
    Moriya, Tetsuo
    Kataoka, Itaru
    IEICE TRANSACTIONS ON INFORMATION AND SYSTEMS, 2014, E97D (01) : 139 - 141
  • [29] Partial words for DNA coding
    Leupold, P
    DNA COMPUTING, 2005, 3384 : 224 - 234
  • [30] Periods in partial words: An algorithm
    Blanchet-Sadri, F.
    Mandel, Travis
    Sisodia, Gautam
    JOURNAL OF DISCRETE ALGORITHMS, 2012, 16 : 113 - 128