Membership Algorithm for Single-Occurrence Regular Expressions with Shuffle and Counting

被引:1
|
作者
Wang, Xiaofan [1 ]
机构
[1] Chinese Acad Sci, Inst Software, State Key Lab Comp Sci, Beijing 100190, Peoples R China
关键词
AUTOMATA; LANGUAGES;
D O I
10.1007/978-3-031-00123-9_41
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Since shuffle introduced into regular expressions makes the membership problem NP-hard, and an efficient membership algorithm facilitates processing many membership-based applications, it is an essential work to devise an efficient membership algorithm for regular expressions which can support shuffle. In this paper, we focus on the membership problem for single-occurrence regular expressions with shuffle and counting (SOREFCs). First, we define single-occurrence finite automata with shuffles and counters (SFA(&,#)s), which can recognize the languages defined by SOREFCs. We prove that the membership problem for SFA(&,#)s is decidable in polynomial time. Then, we devise a membership algorithm for SOREFCs by constructing equivalent SFA(&,#)s. Experimental results demonstrate that our algorithm is efficient in membership checking.
引用
收藏
页码:526 / 542
页数:17
相关论文
共 50 条
  • [41] Regular Expressions for Web Advertising Detection Based on an Automatic Sliding Algorithm
    D. Riaño
    R. Piñon
    G. Molero-Castillo
    E. Bárcenas
    A. Velázquez-Mena
    Programming and Computer Software, 2020, 46 : 652 - 660
  • [42] Regular Expressions for Web Advertising Detection Based on an Automatic Sliding Algorithm
    Riano, D.
    Pinon, R.
    Molero-Castillo, G.
    Barcenas, E.
    Velazquez-Mena, A.
    PROGRAMMING AND COMPUTER SOFTWARE, 2020, 46 (08) : 652 - 660
  • [43] A Comparative Study of Different Motif Occurrence Models Applied to a Hybrid Multiobjective Shuffle Frog Leaping Algorithm
    Gonzalez-Alvarez, David L.
    Vega-Rodriguez, Miguel A.
    Rubio-Largo, Alvaro
    COMPUTER JOURNAL, 2016, 59 (03): : 384 - 402
  • [44] A Novel Algorithm for the Conversion of Parallel Regular Expressions to Non-deterministic Finite Automata
    Kumar, Ajay
    Verma, Anil Kumar
    APPLIED MATHEMATICS & INFORMATION SCIENCES, 2014, 8 (01): : 95 - 105
  • [45] An Improved Algorithm for the Metamorphosis of Semi-Extended Regular Expressions to Deterministic Finite Automata
    Kumar, Ajay
    Verma, Anil Kumar
    COMPUTER JOURNAL, 2015, 58 (03): : 448 - 456
  • [46] Mutation-based Generation Algorithm of Negative Test Strings from Regular Expressions
    Zheng L.-X.
    Yu L.-L.
    Chen H.-M.
    Chen Z.-X.
    Luo X.-Y.
    Wang X.-Y.
    Ruan Jian Xue Bao/Journal of Software, 2024, 35 (07): : 3355 - 3376
  • [47] Automatic generation of regular expressions for the Regex Golf challenge using a local search algorithm
    de Almeida Farzat, Andre
    de Oliveira Barros, Marcio
    GENETIC PROGRAMMING AND EVOLVABLE MACHINES, 2022, 23 (01) : 105 - 131
  • [48] Automatic generation of regular expressions for the Regex Golf challenge using a local search algorithm
    André de Almeida Farzat
    Márcio de Oliveira Barros
    Genetic Programming and Evolvable Machines, 2022, 23 : 105 - 131
  • [49] A single exponential time algorithm for homogeneous regular sequence tests
    Hashemi, Amir
    Alizadeh, Benyamin M.
    Parnian, Hossein
    Seiler, Werner M.
    JOURNAL OF ALGEBRA AND ITS APPLICATIONS, 2024, 23 (09)
  • [50] A NOVEL FLASH DETECTION ALGORITHM FOR SINGLE MOLECULE COUNTING WITH TIRF MICROSCOPY
    Radford, Joseph
    Wang, Liyuan
    Li, JingJing
    Coad, Bryan R.
    McFarland, Clive D.
    Nordon, Robert E.
    2013 IEEE 10TH INTERNATIONAL SYMPOSIUM ON BIOMEDICAL IMAGING (ISBI), 2013, : 1066 - 1069