An efficient ASCII-based algorithm for single pattern matching

被引:0
|
作者
Mansi R.H. [1 ]
Alnihoud J.Q. [1 ]
机构
[1] Department of Computer Science, Faculty of Information Technology, Al al-Bayt University, Mafraq
关键词
ASCII-based matching; Boyer-moore algorithm; Design of algorithm; Naive matching; String matching;
D O I
10.3923/itj.2010.453.459
中图分类号
学科分类号
摘要
In this study, we propose a new single exact pattern matching algorithm, called ASCII-Based-RJ algorithm. Furthermore, a string matching tool (RJ-SMT) has been developed to simulate and test the proposed algorithm, the naive (brute force) and Boyer-Moore algorithms. In its searching phase, the proposed algorithm improves the shifts in the naive and Boyer-Moore algorithms by excluding the text's segments that contain a different character from pattern's characters. Based on the experimental results, the ASCII-Based-RJ algorithm outperformed the naive algorithm by 35.3% and Boyer-Moore algorithm by 2.3%. We may conclude that adding some restrictions, or conditions, on text's characters during the preprocessing phase, increases the efficiency of the searching phase, which increases the efficiency of the algorithm as aresult. © 2010 Asian Network for Scientific Information.
引用
收藏
页码:453 / 459
页数:6
相关论文
共 50 条
  • [1] PHONASCII - AN ASCII-BASED SYSTEM FOR DETAILED PHONETIC TRANSCRIPTION
    ALLEN, GD
    JOURNAL OF THE ACOUSTICAL SOCIETY OF AMERICA, 1987, 81 : S68 - S68
  • [2] An efficient pattern matching algorithm
    Sleit, Azzam
    AlMobaideen, Wesam
    Baarah, Aladdin H.
    Abusitta, Adel H.
    Journal of Applied Sciences, 2007, 7 (18) : 2691 - 2695
  • [3] ASCII-BASED COMPACTION EASES BAR-CODE DECODERS WORK
    WALKER, N
    ELECTRONIC DESIGN, 1982, 30 (22) : 163 - 166
  • [4] Optimization of Single Pattern Matching Based on Sunday Algorithm
    Xue, Tianxiao
    Li, Qingbao
    Chen, Zhifeng
    Wang, Ye
    Feng, Peijun
    Luo, Nan
    2019 IEEE 11TH INTERNATIONAL CONFERENCE ON COMMUNICATION SOFTWARE AND NETWORKS (ICCSN 2019), 2019, : 816 - 820
  • [5] A Single Pattern Matching Algorithm Based on Character Frequency
    刘功申
    High Technology Letters, 2003, (02) : 47 - 50
  • [6] Research on an Single Pattern Matching Algorithm
    Zheng, Qiang
    MATERIALS SCIENCE AND INFORMATION TECHNOLOGY, PTS 1-8, 2012, 433-440 : 4468 - 4474
  • [7] A New Algorithm for Efficient Pattern Matching with Swaps
    Campanelli, Matteo
    Cantone, Domenico
    Faro, Simone
    COMBINATORIAL ALGORITHMS, 2009, 5874 : 230 - +
  • [8] An Efficient Algorithm for Approximate Pattern Matching with Swaps
    Campanelli, Matteo
    Cantone, Domenico
    Faro, Simone
    Giaquinta, Emanuele
    PROCEEDINGS OF THE PRAGUE STRINGOLOGY CONFERENCE 2009, 2009, : 90 - 104
  • [9] Efficient Pattern Matching Algorithm for Memory Architecture
    Lin, Cheng-Hung
    Chang, Shih-Chieh
    IEEE TRANSACTIONS ON VERY LARGE SCALE INTEGRATION (VLSI) SYSTEMS, 2011, 19 (01) : 33 - 41
  • [10] An efficient algorithm for the blocked pattern matching problem
    Deng, Fei
    Wang, Lusheng
    Liu, Xiaowen
    BIOINFORMATICS, 2015, 31 (04) : 532 - 538