...
首页> 外文期刊>LIPIcs : Leibniz International Proceedings in Informatics >Generating Event-Sequence Test Cases by Answer Set Programming with the Incidence Matrix
【24h】

Generating Event-Sequence Test Cases by Answer Set Programming with the Incidence Matrix

机译:通过具有关联矩阵的答案集编程生成事件序列测试用例

获取原文

摘要

The effective use of ASP solvers is essential for enhancing efficiency and scalability. The incidence matrix is a simple representation used in Constraint Programming (CP) and Integer Linear Programming for modeling combinatorial problems. Generating test cases for event-sequence testing is to find a sequence covering array (SCA). In this paper, we consider the problem of finding optimal sequence covering arrays by ASP and CP. Our approach is based on an effective combination of ASP solvers and the incidence matrix. We first present three CP models from different viewpoints of sequence covering arrays: the na?ve matrix model, the event-position matrix model, and the incidence matrix model. Particularly, in the incidence matrix model, an SCA can be represented by a (0,1)-matrix called the incidence matrix of the array in which the coverage constraints of the given SCA can be concisely expressed. We then present an ASP program of the incidence matrix model. It is compact and faithfully reflects the original constraints of the incidence matrix model. In our experiments, we were able to significantly improve the previously known bounds for many arrays of strength three. Moreover, we succeeded either in finding optimal solutions or in improving known bounds for some arrays of strength four.
机译:有效使用ASP求解器对于提高效率和可伸缩性至关重要。关联矩阵是约束规划(CP)和整数线性规划中用于组合问题建模的简单表示形式。生成用于事件序列测试的测试用例是要找到一个序列覆盖数组(SCA)。在本文中,我们考虑通过ASP和CP查找最佳序列覆盖数组的问题。我们的方法基于ASP求解器和关联矩阵的有效组合。首先,我们从序列覆盖数组的不同角度介绍了三种CP模型:朴素矩阵模型,事件-位置矩阵模型和关联矩阵模型。特别地,在入射矩阵模型中,SCA可以由称为阵列的入射矩阵的(0,1)矩阵表示,在该矩阵中可以简洁地表达给定SCA的覆盖范围约束。然后,我们介绍一个关联矩阵模型的ASP程序。它紧凑并且忠实地反映了入射矩阵模型的原始约束。在我们的实验中,我们能够显着改善许多强度三阵列的先前已知界限。而且,我们成功地找到了最佳的解决方案,或者成功地改善了一些强度为4的阵列的已知界限。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号