Efficient CGM-based parallel algorithms for the longest common subsequence problem with multiple substring-exclusion constraints

被引:7
|
作者
Tchendji, Vianney Kengne [1 ]
Ngomade, Armel Nkonjoh [1 ]
Zeutouo, Jerry Lacmou [1 ]
Myoupo, Jean Frederic [2 ]
机构
[1] Univ Dschang, Dept Math & Comp Sci, Dschang, Cameroon
[2] Univ Picardie Jules Verne, Comp Sci Lab MIS, Amiens, France
关键词
Parallel algorithms; Coarse grained multicomputer; Dynamic programming; Multiple-constrained LCS; Direct acyclic graph;
D O I
10.1016/j.parco.2019.102598
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
A variant of the Longest Common Subsequence (LCS) problem is the LCS problem with multiple substring-exclusion constraints (M-STR-EC-LCS), which has great importance in many fields especially in bioinformatics. This problem consists to compute the LCS of two strings X and Y of length n and m respectively that excluded a set of d constraints P = {P-1, P-2, ..., P-d) of total length r. Recently, Wang et al. proposed a sequential solution based on the dynamic programming technique that requires O(nmr) execution time and space. To the best of our knowledge, there is no parallel solutions for this problem. This paper describes new efficient parallel algorithms on Coarse Grained Multicomputer model (CGM) to solve this problem. Firstly, we propose a multi-level Direct Acyclic Graph (DAG) that determines the correct evaluation order of sub-problems in order to avoid redundancy due to overlap. Secondly, we propose two CGM parallel algorithms based on our DAG. The first algorithm is based on a regular partitioning of the DAG and requires O(nmr/p) execution time with O(p) communication rounds where p is the number of processors used. Its main drawback is high idleness time of processors because due to the dependencies between the nodes in the DAG, over time it has many idle processors. The second algorithm uses an irregular partitioning of the DAG that minimizes this idleness time by allowing the processors to stay active as long as possible. It requires O(nmr/p) execution time with O(kp) communication rounds. k is a constant integer allowing to setup the irregular partitioning. The both algorithms require O(r vertical bar Sigma vertical bar/p) preprocessing time where vertical bar Sigma vertical bar is the length of the alphabet. The experimental results performed show a good agreement with theoretical predictions. (C) 2019 Elsevier B.V. All rights reserved.
引用
收藏
页数:15
相关论文
共 26 条
  • [1] Efficient algorithms for the longest common subsequence problem with sequential substring constraints
    Tseng, Chiou-Ting
    Yang, Chang-Biau
    Ann, Hsing-Yen
    JOURNAL OF COMPLEXITY, 2013, 29 (01) : 44 - 52
  • [2] Efficient Computation for the Longest Common Subsequence with Substring Inclusion and Subsequence Exclusion Constraints
    Wang, Xiaodong
    Zhu, Daxin
    SMART COMPUTING AND COMMUNICATION, SMARTCOM 2016, 2017, 10135 : 419 - 428
  • [3] Parallel algorithms for the longest common subsequence problem
    Babu, KN
    Saxena, S
    FOURTH INTERNATIONAL CONFERENCE ON HIGH-PERFORMANCE COMPUTING, PROCEEDINGS, 1997, : 120 - 125
  • [4] PARALLEL ALGORITHMS FOR THE LONGEST COMMON SUBSEQUENCE PROBLEM
    LU, M
    LIN, H
    IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, 1994, 5 (08) : 835 - 848
  • [5] Efficient Dominant Point Algorithms for the Multiple Longest Common Subsequence (MLCS) Problem
    Wang, Qingguo
    Korkin, Dmitry
    Shang, Yi
    21ST INTERNATIONAL JOINT CONFERENCE ON ARTIFICIAL INTELLIGENCE (IJCAI-09), PROCEEDINGS, 2009, : 1494 - 1499
  • [6] A Simple Algorithm for Solving for the Generalized Longest Common Subsequence (LCS) Problem with a Substring Exclusion Constraint
    Zhu, Daxin
    Wang, Xiaodong
    ALGORITHMS, 2013, 6 (03) : 485 - 493
  • [7] Efficient Search Algorithms for the Restricted Longest Common Subsequence Problem
    Djukanovic, Marko
    Kartelj, Aleksandar
    Eftimov, Tome
    Reixach, Jaume
    Blum, Christian
    COMPUTATIONAL SCIENCE, ICCS 2024, PT V, 2024, 14836 : 58 - 73
  • [8] An Efficient Parallel Algorithm for Longest Common Subsequence Problem on GPUs
    Yang, Jiaoyun
    Xu, Yun
    Shang, Yi
    WORLD CONGRESS ON ENGINEERING, WCE 2010, VOL I, 2010, : 499 - 504
  • [9] Algorithms for the longest common subsequence problem for multiple strings based on geometric maxima
    Hakata, K
    Imai, H
    OPTIMIZATION METHODS & SOFTWARE, 1998, 10 (02): : 233 - 260
  • [10] Algorithms for the longest common subsequence problem for multiple strings based on geometric maxima
    Hakata, Koji
    Imai, Hiroshi
    Optimization Methods and Software, 10 (02): : 233 - 260