首页> 外文会议>IFIP WG 6.1 International Conference on Testing Software and Systems >Regular Expression Learning with Evolutionary Testing and Repair
【24h】

Regular Expression Learning with Evolutionary Testing and Repair

机译:具有进化测试和修复的正规表达学习

获取原文

摘要

Regular expressions are widely used to describe and document regular languages, and to identify a set of (valid) strings. Often they are not available or known, and they must be learned or inferred. Classical approaches like L* make strong assumptions that normally do not hold. More feasible are testing approaches in which it is possible only to generate strings and check them with the underlying system acting as oracle. In this paper, we devise a method that starting from an initial guess of the regular expression, it repeatedly generates and feeds strings to the system to check whether they are accepted or not, and it tries to repair consistently the alleged solution. Our approach is based on an evolutionary algorithm in which both the population of possible solutions and the set of strings co-evolve. Mutation is used for the population evolution in order to produce the offspring. We run a set of experiments showing that the string generation policy is effective and that the evolutionary approach outperforms existing techniques for regular expression repair.
机译:正则表达式广泛用于描述和记录常规语言,并识别一组(有效的)字符串。通常,它们不可用或已知,必须学习或推断。 L *等古典方法使得通常不持有的强烈假设。更可行的是测试方法,其中只能生成字符串并使用充当Oracle的底层系统检查它们。在本文中,我们设计了一种从初始猜测开始正则表达式的方法,它反复生成并向系统馈送字符串,以检查它们是否被接受,并且它试图始终如一地修复所谓的据称的解决方案。我们的方法基于一种进化算法,其中可能的解决方案群和串集合共同进化。突变用于人口演化以产生后代。我们运行一组实验,表明字符串生成策略是有效的,并且进化方法优于正规表达修复的现有技术。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号