arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1807.03975cs.AIcs.SE
收藏

测试全局约束

Testing Global Constraints

UCLouvain(鲁汶天主教大学)

Aurélie Massart, Valentin Rombouts, Pierre Schaus

摘要:

每个约束编程(CP)求解器都暴露了一个用于解决组合问题的约束库。为了有用,CP求解器需要没有bug。因此,求解器的测试对于使开发人员和用户有信心至关重要。我们提出了一个Java库,允许任何基于JVM的求解器来测试各个约束的实现是正确的。该库可以用于在持续集成工具中执行的测试套件中,也可以用于发现违反某些属性(弧一致性等)的最低限度实例,以帮助开发人员使用标准调试器识别问题的根源。

英文摘要:

Every Constraint Programming (CP) solver exposes a library of constraints for solving combinatorial problems. In order to be useful, CP solvers need to be bug-free. Therefore the testing of the solver is crucial to make developers and users confident. We present a Java library allowing any JVM based solver to test that the implementations of the individual constraints are correct. The library can be used in a test suite executed in a continuous integration tool or it can also be used to discover minimalist instances violating some properties (arc-consistency, etc) in order to help the developer to identify the origin of the problem using standard debuggers.

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

↑