首页 | 本学科首页   官方微博 | 高级检索  
     检索      


Testing primitivity on partial words
Authors:F Blanchet-Sadri  Arundhati R Anavekar
Institution:Department of Mathematical Sciences, University of North Carolina, P.O. Box 26170, Greensboro, NC 27402-6170, USA
Abstract: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.
Keywords:Combinatorics on words  Words  Partial words  Primitive words  Primitive partial words  Special partial words  Compatibility  Algorithm
本文献已被 ScienceDirect 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号