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 条
  • [41] A fast parallel algorithm for finding the longest common sequence of multiple biosequences
    Yixin Chen
    Andrew Wan
    Wei Liu
    BMC Bioinformatics, 7
  • [42] Positional_LCS: A position based algorithm to find Longest Common Subsequence (LCS) in Sequence Database (SDB)
    Rubi, R. Devika
    Arockiam, L.
    2012 IEEE INTERNATIONAL CONFERENCE ON COMPUTATIONAL INTELLIGENCE AND COMPUTING RESEARCH (ICCIC), 2012, : 284 - 287
  • [43] Similarity Evaluation on Noisy Time Series Gene Expression Data using Particle Filter and Longest Common Subsequence
    Wang, Haixin
    Aberra, Dawit
    2017 13TH INTERNATIONAL CONFERENCE ON NATURAL COMPUTATION, FUZZY SYSTEMS AND KNOWLEDGE DISCOVERY (ICNC-FSKD), 2017, : 2054 - 2059
  • [44] A parallel Non-Local means denoising algorithm implementation with OpenMP and OpenCL on Intel Xeon Phi Coprocessor
    Zhu, Huming
    Wu, Yanfei
    Li, Pei
    Wang, Duo
    Shi, Wei
    Zhang, Peng
    Jiao, Licheng
    JOURNAL OF COMPUTATIONAL SCIENCE, 2016, 17 : 591 - 598
  • [45] Implementation of parallel K-means algorithm for image classification using OpenMP and MPI libraries
    Tanovic, Anja
    Vranjkovic, Vuk
    2024 ZOOMING INNOVATION IN CONSUMER TECHNOLOGIES CONFERENCE, ZINC 2024, 2024, : 54 - 59
  • [46] Performance Improvement of the Parallel Smith Waterman Algorithm Implementation Using Hybrid MPI - Openmp Model
    Khaled, Heba
    Faheem, H. M.
    Fayez, Mahmoud
    Katib, Iyad
    Aljohani, Naif R.
    PROCEEDINGS OF THE 2016 SAI COMPUTING CONFERENCE (SAI), 2016, : 1232 - 1242