Parallelization on a Minimal Substring Search Algorithm for Regular Expressions

被引:0
|
作者
Obe, Yosuke [1 ]
Yamamoto, Hiroaki [2 ]
Fujiwara, Hiroshi [2 ]
机构
[1] SCSK Corp, Tokyo 1358110, Japan
[2] Shinshu Univ, Dept Elect & Comp Engn, Nagano 3808553, Japan
关键词
regular expression; pattern matching; parallel algorithm;
D O I
10.1587/transinf.2022EDP7105
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Let us consider a regular expression r of length m and a text string T of length n over an alphabet sigma. Then, the RE minimal substring search problem is to find all minimal substrings of T matching r. Yamamoto proposed O(mn) time and O(m) space algorithm using a Thompson automaton. In this paper, we improve Yamamoto's algorithm by introducing parallelism. The proposed algorithm runs in O(mn) time in the worst case and in O(mn/p) time in the best case, where p denotes the number of processors. Besides, we show a parameter related to the parallel time of the proposed algorithm. We evaluate the algorithm experimentally.
引用
收藏
页码:952 / 958
页数:7
相关论文
共 50 条
  • [1] A multiple substring search algorithm
    Halibard, Moishe
    Rubin, Moshe
    [J]. 2002, R and D Publications Inc. (20):
  • [2] A substring search algorithm in extendible hashing
    Mochizuki, H
    Koyama, M
    Shishibori, M
    Aoe, J
    [J]. INFORMATION SCIENCES, 1998, 108 (1-4) : 13 - 30
  • [3] A VERY FAST SUBSTRING SEARCH ALGORITHM
    SUNDAY, DM
    [J]. COMMUNICATIONS OF THE ACM, 1990, 33 (08) : 132 - 142
  • [4] NOTES ON A VERY FAST SUBSTRING SEARCH ALGORITHM
    SIBBALD, PR
    [J]. COMMUNICATIONS OF THE ACM, 1992, 35 (04) : 133 - 135
  • [5] EXPERIMENTS WITH A VERY FAST SUBSTRING SEARCH ALGORITHM
    SMITH, PD
    [J]. SOFTWARE-PRACTICE & EXPERIENCE, 1991, 21 (10): : 1065 - 1074
  • [6] A Search for Improved Performance in Regular Expressions
    Cody-Kenny, Brendan
    Fenton, Michael
    Ronayne, Adrian
    Considine, Eoghan
    McGuire, Thomas
    O'Neill, Michael
    [J]. PROCEEDINGS OF THE 2017 GENETIC AND EVOLUTIONARY COMPUTATION CONFERENCE (GECCO'17), 2017, : 1280 - 1287
  • [7] NOTES ON A VERY FAST SUBSTRING SEARCH ALGORITHM - REPLY
    SUNDAY, DM
    [J]. COMMUNICATIONS OF THE ACM, 1992, 35 (04) : 135 - 137
  • [8] A faster algorithm for finding shortest substring matches of a regular expression
    Yamamoto, Hiroaki
    [J]. INFORMATION PROCESSING LETTERS, 2019, 143 : 56 - 60
  • [9] Graphical User Interface for Search of Mathematical Expressions with Regular Expressions
    Watabe, Takayuki
    Miyazaki, Yoshinori
    [J]. HUMAN-COMPUTER INTERACTION: DESIGN AND EVALUATION, PT I, 2015, 9169 : 438 - 447
  • [10] Automatic generation of regular expressions for the Regex Golf challenge using a local search algorithm
    André de Almeida Farzat
    Márcio de Oliveira Barros
    [J]. Genetic Programming and Evolvable Machines, 2022, 23 : 105 - 131