首页    期刊浏览 2024年10月07日 星期一
登录注册

文章基本信息

  • 标题:Generating Event-Sequence Test Cases by Answer Set Programming with the Incidence Matrix
  • 本地全文:下载
  • 作者:Mutsunori Banbara ; Naoyuki Tamura ; Katsumi Inoue
  • 期刊名称:LIPIcs : Leibniz International Proceedings in Informatics
  • 电子版ISSN:1868-8969
  • 出版年度:2012
  • 卷号:17
  • 页码:86-97
  • DOI:10.4230/LIPIcs.ICLP.2012.86
  • 出版社:Schloss Dagstuhl -- Leibniz-Zentrum fuer Informatik
  • 摘要: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.
  • 关键词:Event-Sequence Testing; Answer Set Programming; Matrix Model; Constraint Programming; Propositional Satisfiability (SAT)
国家哲学社会科学文献中心版权所有