Target Oriented Relational Model Finding
Target Oriented Relational Model Finding
复制标题
面向目标的关系模型查找
DOI:
10.1007/978-3-642-54804-8_2
复制
发表时间:
2014
期刊:
影响因子:
--
通讯作者:
Tiago Guimarães
中科院分区:
文献类型:
--
作者:
Alcino Cunha;Nuno Macedo;Tiago Guimarães
Model finders are becoming useful in many software engineering problems. Kodkod [19] is one of the most popular, due to its support for relational logic (a combination of first order logic with relational algebra operators and transitive closure), allowing a simpler specification of constraints, and support for partial instances, allowing the specification of a priori (exact, but potentially partial) knowledge about a problem's solution. However, in some software engineering problems, such as model repair or bidirectional model transformation, knowledge about the solution is not exact, but instead there is a known target that the solution should approximate. In this paper we extend Kodkod's partial instances to allow the specification of such targets, and show how its model finding procedure can be adapted to support them (using both PMax-SAT solvers or SAT solvers with cardinality constraints). Two case studies are also presented, including a careful performance evaluation to assess the effectiveness of the proposed extension.