A new parameterized string matching algorithm by combining bit-parallelism and suffix automata

被引:1
|
作者
Prasad, Rajesh [1 ]
Agarwal, Suneeta [2 ]
机构
[1] LDC Inst Tech Studies, Allahabad 212502, Uttar Pradesh, India
[2] Motilal Nehru Natl Inst Technol, Allahabad 21103, Uttar Pradesh, India
关键词
algorithm; finite automata; bit-parallelism; suffix automata; prev-encoding and parameterized matching;
D O I
10.1109/CIT.2008.4594773
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
In the parameterized string matching, a given pattern P is said to match with a substring t of the text T if there exist a bijection from the symbols of P to the symbols of t. This problem has an important application in software maintenance, where we wish to find the equivalency between two sections of codes. Two sections of codes are said to be equivalent, if one can be transformed into the other by renaming identifiers and variables only. Crochemore et al., 1994, has developed an algorithm (BDM) for exact string matching problem using suffix automata Kimmo Fredriksson et al., 2006, has developed parameterized bit-parallel algorithm (parameterized shift-or) and parameterized BDM (PBDM). Parameterized shift-or (PSO) simulates finite automata in their non-deterministic form. The main drawback of PSO is: it is unable to skip text characters while matching forward. In this paper, we develop a new algorithm for parameterized string matching problem. This algorithm is based upon both suffix automata and bit parallelism concepts. This algorithm is faster than PBDM, since it processes the suffix automata in their non-deterministic form.
引用
收藏
页码:778 / +
页数:2
相关论文
共 43 条
  • [1] Increased bit-parallelism for approximate string matching
    Hyyrö, H
    Fredriksson, K
    Navarro, G
    EXPERIMENTAL AND EFFICIENT ALGORITHMS, 2004, 3059 : 285 - 298
  • [2] Faster string matching based on hashing and bit-parallelism
    Al-Ssulami, Abdulrakeeb M.
    Mathkour, Hassan
    INFORMATION PROCESSING LETTERS, 2017, 123 : 51 - 55
  • [3] BitmapAligner: Bit-Parallelism String Matching with MapReduce and Hadoop
    Aksa, Mary
    Rashid, Junaid
    Nisar, Muhammad Wasif
    Mahmood, Toqeer
    Kwon, Hyuk-Yoon
    Hussain, Amir
    CMC-COMPUTERS MATERIALS & CONTINUA, 2021, 68 (03): : 3931 - 3946
  • [4] Multi-Pattern Matching Algorithm with Wildcards Based on Bit-Parallelism
    Ahmed A.F.Saif
    HU Liang
    CHU Jianfeng
    WuhanUniversityJournalofNaturalSciences, 2017, 22 (02) : 178 - 184
  • [5] Approximate string matching with suffix automata
    Ukkonen, Wesko
    Wood, Derick
    Algorithmica (New York), 1993, 10 (05): : 353 - 364
  • [6] A bit-parallel approach to suffix automata: Fast extended string matching
    Navarro, G
    Raffinot, M
    COMBINATORIAL PATTERN MATCHING, 1998, 1448 : 14 - 33
  • [7] A new approach to determinisation using bit-parallelism
    Supol, Jan
    Melichar, Borivoj
    THEORETICAL ASPECTS OF COMPUTING - ICTAC 2006, 2006, 4281 : 228 - 241
  • [8] An Alternative Bit-Parallel Algorithm for Parameterized String Matching
    Prasad, Rajesh
    Agarwal, Suneeta
    INTERNATIONAL SYMPOSIUM OF INFORMATION TECHNOLOGY 2008, VOLS 1-4, PROCEEDINGS: COGNITIVE INFORMATICS: BRIDGING NATURAL AND ARTIFICIAL KNOWLEDGE, 2008, : 2148 - 2155
  • [9] MAINTAINING SOFTWARE THROUGH BIT-PARALLELISM AND HASHING THE PARAMETERIZED Q-GRAMS
    Prasad, Rajesh
    Agarwal, Suneeta
    Misra, Sanjay
    Sharma, Anuj Kumar
    Singh, Alok
    TEHNICKI VJESNIK-TECHNICAL GAZETTE, 2012, 19 (02): : 243 - 247
  • [10] APPROXIMATE STRING-MATCHING WITH SUFFIX AUTOMATA
    UKKONEN, E
    WOOD, D
    ALGORITHMICA, 1993, 10 (05) : 353 - 364