DocumentCode
476832
Title
An alternative bit-parallel algorithm for parameterized string matching
Author
Prasad, Rajesh ; Agarwal, Suneeta
Author_Institution
Dept. of Comput. Sci. & Eng., Motilal Nehru Nat. Inst. of Technol., Allahabad
Volume
3
fYear
2008
fDate
26-28 Aug. 2008
Firstpage
1
Lastpage
8
Abstract
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. In this paper, we have extended exact Two Way Non-Deterministic DAWG Matching (TNDM) algorithm (Hannu Peltola et al., 2003) for parameterized string matching problem. We call this algorithm as PTNDM. We have compared this algorithm with existing bit-parallel parameterized shift-or (PSO) and parameterized BNDM (PBNDM) algorithms. The experimental results show that PTNDM algorithm is better than PSO and close to PBNDM. We also show the performance of these algorithms with respect to duplicity present in the code. The above algorithms are applicable only when pattern length (m) is less than word length (w) of computer used (i.e. m les w).
Keywords
finite automata; pattern matching; software maintenance; bit-parallel algorithm; finite automata; parameterized string matching; software maintenance; two way nondeterministic matching algorithm; Application software; Automata; Parallel processing; Pattern matching; Plagiarism; Software maintenance; Algorithm; bitparallelism; finite automata; prev-encoding and parameterized matching; suffix automata;
fLanguage
English
Publisher
ieee
Conference_Titel
Information Technology, 2008. ITSim 2008. International Symposium on
Conference_Location
Kuala Lumpur
Print_ISBN
978-1-4244-2327-9
Electronic_ISBN
978-1-4244-2328-6
Type
conf
DOI
10.1109/ITSIM.2008.4632077
Filename
4632077
Link To Document