Sign inSubmit
ArticleMetrics
Research Article · Free to read · Published 31 January 2011

A Fast Hybrid Algorithm for the Exact String Matching Problem

Abdulwahab Ali Al-mazroi1 & Nur’Aini Abdul Rashid1

American Journal of Engineering and Applied Sciences, Volume 4, Issue 1, pp. 102–107 · doi.org/10.3844/ajeassp.2011.102.107

8,240 accesses5,729 downloads9 citations (Crossref)Metrics
Cite Check for updates

Abstract

Problem statement: Due to huge amount and complicated nature of data being generated recently, the usage of one algorithm for string searching was not sufficient to ensure faster search and matching of patterns. So there is the urgent need to integrate two or more algorithms to form a hybrid algorithm (called BRSS) to ensure speedy results. Approach: This study proposes the combination of two algorithms namely Berry-Ravindran and Skip Search Algorithms to form a hybrid algorithm in order to boost search performance. Results: The proposed hybrid algorithm contributes to better results by reducing the number of attempts, number of character comparisons and searching time. The performance of the hybrid was tested using different types of data-DNA, Protein and English text. The percentage of the improvements of the hybrid algorithm compared to Berry-Ravindran in DNA, Protein and English text are 50%, 43% and 44% respectively. The percentage of the improvements over Skip Search algorithm in DNA, Protein and English text are 20%, 30% and 18% respectively. The criteria applied for evaluation are number of attempts, number of character comparisons and searching time. Conclusion: The study shows how the integration of two algorithms gives better results than the original algorithms even the same data size and pattern lengths are applied as test evaluation on each of the algorithms.

Licence and reuse

Free to read. This article carries the publisher’s copyright, as printed on it: © 2011 Science Publications. It is free to read; ask us before reusing it.

How to reuse this article

Responses (0)

Have a comment on this research? Sign in to respond. Responses are moderated and published with your name and affiliation; the authors are invited to reply. How we use your dataWrite a response

About this article

Cite this article

Al-mazroi, A. A. & Rashid, N. A. (2011). A Fast Hybrid Algorithm for the Exact String Matching Problem. American Journal of Engineering and Applied Sciences, 4(1), 102–107. https://doi.org/10.3844/ajeassp.2011.102.107

Licence
© Science Publications
Issue
Volume 4, Issue 1
Policies
Editorial independenceUse of generative AIData availabilityAppeals and complaints
Version
Version of record
A Fast Hybrid Algorithm for the Exact String Matching ProblemAmerican Journal of Engineering and Applied Sciences · Volume 4, Issue 1 · pp. 102–107 · © Science PublicationsDownload