OpenMP Implementation of Parallel Longest Common Subsequence Algorithm for Mathematical Expression Retrieval

被引:1
|
作者
Perepu, Pavan Kumar [1 ]
机构
[1] Mahindra Ecole Cent Coll Engn, Dept Comp Sci & Engn, Hyderabad, India
关键词
Mathematical expression retrieval; longest common subsequence; time complexity; parallel algorithm; OpenMP; SEARCH;
D O I
10.1142/S0129626421500079
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
Given a mathematical expression in LaTeX or MathML format, retrieval algorithm extracts similar expressions from a database. In our previous work, we have used Longest Common Subsequence (LCS) algorithm to match two expressions of lengths, m and n, which takes O(mn) time complexity. If there are T database expressions, total complexity is O(Tmn), and an increase in T also increases this complexity. In the present work, we propose to use parallel LCS algorithm in our retrieval process. Parallel LCS has O(max(m,n)) time complexity with max(m,n) processors and total complexity can be reduced to O(Tmax(m,n)). For our experimentation, OpenMP based implementation has been used on Intel i3 processor with 4 cores. However, for smaller expressions, parallel version takes more time as the implementation overhead dominates the algorithmic improvement. As such, we have proposed to use parallel version, selectively, only on larger expressions, in our retrieval algorithm to achieve better performance. We have compared the sequential and parallel versions of our ME retrieval algorithm, and the performance results have been reported on a database of 829 mathematical expressions.
引用
收藏
页数:18
相关论文
共 46 条
  • [21] A Polynomial Time Algorithm for a Generalized Longest Common Subsequence Problem
    Wang, Xiaodong
    Wu, Yingjie
    Zhu, Daxin
    GREEN, PERVASIVE, AND CLOUD COMPUTING, 2016, 9663 : 18 - 29
  • [22] A scalable and efficient systolic algorithm for the longest common subsequence problem
    Lin, YC
    Yeh, JW
    JOURNAL OF INFORMATION SCIENCE AND ENGINEERING, 2002, 18 (04) : 519 - 532
  • [23] A PGAS-based algorithm for the longest common subsequence problem
    Bakhouya, M.
    Serres, O.
    El-Ghazawi, T.
    EURO-PAR 2008 PARALLEL PROCESSING, PROCEEDINGS, 2008, 5168 : 654 - 664
  • [24] Optimized RNA structure alignment algorithm based on longest arcpreserving common subsequence
    Bahig, Hazem M.
    Hazber, Mohamed A. G.
    Kenawy, Tarek G.
    AIMS MATHEMATICS, 2024, 9 (05): : 11212 - 11227
  • [25] BIT-PARALLEL ALGORITHMS FOR THE MERGED LONGEST COMMON SUBSEQUENCE PROBLEM
    Deorowicz, Sebastian
    Danek, Agnieszka
    INTERNATIONAL JOURNAL OF FOUNDATIONS OF COMPUTER SCIENCE, 2013, 24 (08) : 1281 - 1298
  • [26] A coarse-grained multicomputer parallel algorithm for the sequential substring constrained longest common subsequence problem
    Tchendji, Vianney Kengne
    Tepiele, Hermann Bogning
    Onabid, Mathias Akong
    Myoupo, Jean Frederic
    Zeutouo, Jerry Lacmou
    PARALLEL COMPUTING, 2022, 111
  • [27] A time efficient algorithm for finding Longest Common Subsequence from two molecular sequences
    Rizvi, S. A. M.
    Agarwal, Pankaj
    2007 IEEE 33RD ANNUAL NORTHEAST BIOENGINEERING CONFERENCE, 2007, : 302 - +
  • [28] A Fast longest crossing-plain preserving common subsequence algorithm
    Kenawy T.G.
    Abdel-Rahman M.H.
    Bahig H.M.
    International Journal of Information Technology, 2022, 14 (6) : 3019 - 3029
  • [29] A Fast On-Line Algorithm for the Longest Common Subsequence Problem with Constant Alphabet
    Sakai, Yoshifumi
    IEICE TRANSACTIONS ON FUNDAMENTALS OF ELECTRONICS COMMUNICATIONS AND COMPUTER SCIENCES, 2012, E95A (01): : 354 - 361
  • [30] A fast and practical bit-vector algorithm for the Longest Common Subsequence problem
    Crochemore, M
    Iliopoulos, CS
    Pinzon, YJ
    Reid, JF
    INFORMATION PROCESSING LETTERS, 2001, 80 (06) : 279 - 285