Efficient on-line repetition detection

被引:2
|
作者
Hong, Jin-Ju [1 ]
Chen, Gen-Huey [1 ]
机构
[1] Natl Taiwan Univ, Dept Comp Sci & Informat Engn, Taipei 106, Taiwan
关键词
Repetition; Square; On-line detection;
D O I
10.1016/j.tcs.2008.08.038
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
A repetition is a nonempty string of the form X-q, where q >= 2. Given a string S character by character and the value of q, the on-line repetition detection problem is to detect and report the first repetition in S, if it exists, in an on-line manner. Leung, Peng and Ting first studied the problem for q = 2 and gave an O(m log(2) m) time algorithm (refer to [H.-F. Leung, Z. Peng, H.-F. Ting, An efficient algorithm for online square detection, Theoretical Computer Science 363 (1) (2006) 69-75]), where in is the ending position of the first repetition in S. In this paper, we improve the above cited work by reducing the time complexity to O(m log beta), where beta is the number of distinct characters in the first in characters of S. Moreover, we also solve the problem for q >= 3 with the same time complexity. (C) 2008 Elsevier B.V. All rights reserved.
引用
收藏
页码:554 / 563
页数:10
相关论文
共 50 条
  • [1] On-line repetition detection
    Hong, Jin-Ju
    Chen, Gen-Huey
    [J]. STRING PROCESSING AND INFORMATION RETRIEVAL, PROCEEDINGS, 2006, 4209 : 74 - 85
  • [2] Efficient on-line anomaly detection for ship systems in operation
    Brandsaeter, Andreas
    Vanem, Erik
    Glad, Ingrid K.
    [J]. EXPERT SYSTEMS WITH APPLICATIONS, 2019, 121 : 418 - 437
  • [3] Advertising repetition and placement issues in on-line environments
    Yaveroglu, Idil
    Donthu, Naveen
    [J]. JOURNAL OF ADVERTISING, 2008, 37 (02) : 31 - 43
  • [4] MODEL BASED COMPUTATIONALLY EFFICIENT METHOD FOR ON-LINE DETECTION OF CHATTER IN MILLING
    Ma, Lei
    Melkote, Shreyes
    Castle, James
    [J]. PROCEEDINGS OF THE ASME 8TH INTERNATIONAL MANUFACTURING SCIENCE AND ENGINEERING CONFERENCE - 2013, VOL 2, 2013,
  • [5] Efficient sensor/model based on-line collision detection for planetary manipulators
    Leger, C
    [J]. 2002 IEEE INTERNATIONAL CONFERENCE ON ROBOTICS AND AUTOMATION, VOLS I-IV, PROCEEDINGS, 2002, : 1697 - 1703
  • [6] Efficient On-Line Error Detection and Mitigation for Deep Neural Network Accelerators
    Schorn, Christoph
    Guntoro, Andre
    Ascheid, Gerd
    [J]. COMPUTER SAFETY, RELIABILITY, AND SECURITY (SAFECOMP 2018), 2018, 11093 : 205 - 219
  • [7] Efficient on-line electronic checks
    Chen, WK
    [J]. SAM'03: PROCEEDINGS OF THE INTERNATIONAL CONFERENCE ON SECURITY AND MANAGEMENT, VOLS 1 AND 2, 2003, : 633 - 636
  • [8] Effective and Efficient On-line Communication
    Fensel, Dieter
    Leiter, Birgit
    Thaler, Stefan
    Thalhammer, Andreas
    Toma, Ioan
    [J]. 2012 23RD INTERNATIONAL WORKSHOP ON DATABASE AND EXPERT SYSTEMS APPLICATIONS (DEXA), 2012, : 294 - 298
  • [9] Efficient on-line electronic checks
    Chen, WK
    [J]. APPLIED MATHEMATICS AND COMPUTATION, 2005, 162 (03) : 1259 - 1263
  • [10] A Model-Based Computationally Efficient Method for On-Line Detection of Chatter in Milling
    Ma, Lei
    Melkote, Shreyes N.
    Castle, James B.
    [J]. JOURNAL OF MANUFACTURING SCIENCE AND ENGINEERING-TRANSACTIONS OF THE ASME, 2013, 135 (03):