• DocumentCode
    3708710
  • Title

    A new string matching algorithm based on logical indexing

  • Author

    Daniar Heri Kurniawan;Rinaldi Munir

  • Author_Institution
    Department of Informatics, School of Electrical Engineering and Informatics, Institute Technology, Bandung, Bandung, Indonesia
  • fYear
    2015
  • Firstpage
    394
  • Lastpage
    399
  • Abstract
    Searching process performance is very important in this modern world that consists of various advanced technology. String matching algorithm is one of the most commonly applied algorithms for searching. String that contains sequences of character is the simplest representation of any complex data in our real life, such as search engine database, finger print minutiae, or DNA sequence. The current most famous string algorithms are Knuth-Morris-Pratt (KMP) algorithm and Boyer-Moore (BM) algorithm. Boyer-Moore algorithm and KMP algorithm are not efficient in some cases. We introduced a new variation of string matching algorithm based on Logical-Indexing (LI), which is more efficient than those algorithms. Logical-Indexing algorithm implements a new function or method and defines different jumping rules compared to others. The indexes of texts and patterns are used to reduce the number of comparisons. Index enables us to analyze the condition of comparison without directly comparing each character in the pattern. Theoretically, we have proven that Logical-Indexing algorithm can skip more characters than KMP and BM algorithm by analyzing KMP´s and BM´s weaknesses then giving the better solution that are implemented in LI. Furthermore, experiments conducted on various combinations of pattern matching cases also demonstrate that the average number of LI´s direct comparisons is smaller than KMP´s and BM´s algorithm.
  • Keywords
    "Indexes","Algorithm design and analysis","Approximation algorithms","Pattern matching","Informatics","Electrical engineering"
  • Publisher
    ieee
  • Conference_Titel
    Electrical Engineering and Informatics (ICEEI), 2015 International Conference on
  • Print_ISBN
    978-1-4673-6778-3
  • Electronic_ISBN
    2155-6830
  • Type

    conf

  • DOI
    10.1109/ICEEI.2015.7352533
  • Filename
    7352533