arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1910.01996cs.FLcs.LO
收藏

计数自动机的球面构造简洁判定(技术报告)

Succinct Determinisation of Counting Automata via Sphere Construction (Technical Report)

Lukáš Holík, Ondřej Lengál, Olli Saarikivi, Lenka Turoňová, Margus Veanes, Tomáš Vojnar

摘要:

本文提出了一种确定计数自动机的有效算法,有界计数器扩展的有限自动机。该算法避免了将计数器展开为控制状态,这与朴素的方法不同,因此产生了更小的确定性自动机。我们还开发了一个简化和更快的版本的一般算法的子类所谓的一元CA(MCA),即,在字符类上使用计数循环的CA,这在实践中很常见。我们的主要动机是(除了在逻辑的验证和决策过程中的应用)确定性(M)CA在模式匹配正则表达式中的应用计数,这是非常常见的,例如,网络流量处理和日志分析。我们已经根据这些应用领域的实际基准对我们的算法进行了评估,并得出结论,与简单的方法相比,我们的算法不太容易爆炸,产生的自动机可以小几个数量级,并且整体速度更快。

英文摘要:

We propose an efficient algorithm for determinising counting automata (CAs), i.e., finite automata extended with bounded counters. The algorithm avoids unfolding counters into control states, unlike the naïve approach, and thus produces much smaller deterministic automata. We also develop a simplified and faster version of the general algorithm for the sub-class of so-called monadic CAs (MCAs), i.e., CAs with counting loops on character classes, which are common in practice. Our main motivation is (besides applications in verification and decision procedures of logics) the application of deterministic (M)CAs in pattern matching regular expressions with counting, which are very common in e.g. network traffic processing and log analysis. We have evaluated our algorithm against practical benchmarks from these application domains and concluded that compared to the naïve approach, our algorithm is much less prone to explode, produces automata that can be several orders of magnitude smaller, and is overall faster.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑