The effect of multiple reference characters on detecting matches in string-searching algorithms

被引:1
|
作者
Mhashi, MM [1 ]
机构
[1] Mutah Univ, Dept Informat Technol, Fac Sci, Mutah 61710, Al Karak, Jordan
来源
SOFTWARE-PRACTICE & EXPERIENCE | 2005年 / 35卷 / 13期
关键词
string-searching; pattern matching; checking and skipping; condition type; multiple references;
D O I
10.1002/spe.672
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
The effect of multiple reference characters and the condition types on the performance of exact string-searching algorithms is tested. In order to perform such a test a new algorithm called the Multiple Reference Characters Algorithm (MRCA) is developed. An experiment is performed using English text; the results are compared with the known string-matching algorithms called Boyer-Moore-Horspool (BMH) and Straight Forward (Naive). With the MRCA algorithm, the shift distance is increased up to 3m + 1 positions in comparison with exactly one position in the Naive algorithm and up to m positions in BMH. Furthermore, by using the new algorithm MRCA, the results suggest that the evaluation criteria of the average number of comparisons, the average number of shifts, and the clock time required by BMH are improved up to 73.1%, 64.7%, and 49.6%, respectively. The same evaluation criteria required by Naive are improved by MRCA up to 98.1%, 98%, and 94.7%, respectively. Copyright (c) 2005 John Wiley & Sons, Ltd.
引用
收藏
页码:1299 / 1315
页数:17
相关论文
共 6 条
  • [1] A FAST STRING-SEARCHING ALGORITHM FOR MULTIPLE PATTERNS
    URATANI, N
    TAKEDA, M
    INFORMATION PROCESSING & MANAGEMENT, 1993, 29 (06) : 775 - 791
  • [2] Analysis of string-searching algorithms on biological sequence databases
    Sheik, SS
    Aggarwal, SK
    Poddar, A
    Sathiyabhama, B
    Balakrishnan, N
    Sekar, K
    CURRENT SCIENCE, 2005, 89 (02): : 368 - 374
  • [3] WORST-CASE BEHAVIOR OF STRING-SEARCHING ALGORITHMS
    RIVEST, RL
    SIAM JOURNAL ON COMPUTING, 1977, 6 (04) : 669 - 674
  • [4] Detecting False Matches in String-Matching Algorithms
    S. Muthukrishnan
    Algorithmica, 1997, 18 : 512 - 520
  • [5] Detecting false matches in string-matching algorithms
    Muthukrishnan, S
    ALGORITHMICA, 1997, 18 (04) : 512 - 520
  • [6] Searching BWT against Pattern Matching Machine to Find Multiple String Matches
    Chen, Yangjun
    Wu, Yujia
    2017 INTERNATIONAL CONFERENCE ON CYBER-ENABLED DISTRIBUTED COMPUTING AND KNOWLEDGE DISCOVERY (CYBERC), 2017, : 167 - 176