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 条
  • [21] Regexpcount, a symbolic package for counting problems on regular expressions and words
    Nicodème, P
    FUNDAMENTA INFORMATICAE, 2003, 56 (1-2) : 71 - 88
  • [22] Learning k-Occurrence Regular Expressions with Interleaving
    Li, Yeting
    Zhang, Xiaolan
    Cao, Jialun
    Chen, Haiming
    Gao, Chong
    DATABASE SYSTEMS FOR ADVANCED APPLICATIONS (DASFAA 2019), PT II, 2019, 11447 : 70 - 85
  • [23] AN ALGORITHM FOR CONSTRUCTING A BASE IN A LANGUAGE OF REGULAR EXPRESSIONS
    MIRKIN, BG
    ENGINEERING CYBERNETICS, 1966, (05): : 110 - &
  • [24] A new recognition algorithm for extended regular expressions
    Yamamoto, H
    ALGORITHMS AND COMPUTATION, PROCEEDINGS, 2001, 2223 : 257 - 267
  • [25] A Fast Regular Expressions Matching Algorithm for NIDS
    Zhang, Meng-meng
    Sun, Yan
    Wang, Jing-zhong
    APPLIED MATHEMATICS & INFORMATION SCIENCES, 2013, 7 (02): : 755 - 761
  • [26] A deterministic parsing algorithm for ambiguous regular expressions
    Borsotti, Angelo
    Breveglieri, Luca
    Crespi Reghizzi, Stefano
    Morzenti, Angelo
    ACTA INFORMATICA, 2021, 58 (03) : 195 - 229
  • [27] Algorithm for constructing the simplified DFA of regular expressions
    Tan, Fengqin
    Ruan Jian Xue Bao/Journal of Software, 1998, 9 (05): : 495 - 498
  • [28] A deterministic parsing algorithm for ambiguous regular expressions
    Angelo Borsotti
    Luca Breveglieri
    Stefano Crespi Reghizzi
    Angelo Morzenti
    Acta Informatica, 2021, 58 : 195 - 229
  • [29] One-unambiguity of regular expressions with numeric occurrence indicators
    Kilpelainen, Pekka
    Tuhkanen, Rauno
    INFORMATION AND COMPUTATION, 2007, 205 (06) : 890 - 916
  • [30] Parallelization on a Minimal Substring Search Algorithm for Regular Expressions
    Obe, Yosuke
    Yamamoto, Hiroaki
    Fujiwara, Hiroshi
    IEICE TRANSACTIONS ON INFORMATION AND SYSTEMS, 2023, E106D (05) : 952 - 958