Reasoning about conditional constraint specification problems and feature models

被引:6
作者
Finkel, Raphael [1 ]
O'Sullivan, Barry [2 ,3 ]
机构
[1] Univ Kentucky, Dept Comp Sci, Lexington, KY 40506 USA
[2] Univ Coll Cork, Cork Constraint Computat Ctr, Cork, Ireland
[3] Univ Coll Cork, Dept Comp Sci, Cork, Ireland
来源
AI EDAM-ARTIFICIAL INTELLIGENCE FOR ENGINEERING DESIGN ANALYSIS AND MANUFACTURING | 2011年 / 25卷 / 02期
基金
爱尔兰科学基金会; 美国国家科学基金会;
关键词
Alloy; Answer-Set Programming; Configuration; Constraint Satisfaction; Flaw Detection; CONFIGURATION;
D O I
10.1017/S0890060410000600
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Product configuration is a major industrial application domain for constraint satisfaction techniques. Conditional constraint satisfaction problems (CCSPs) and feature models (FMs) have been developed to represent configuration problems in a natural way. CCSPs are like constraint satisfaction problems (CSPs), but they also include potential variables, which might or might not exist in any given solution, as well as classical variables, which are required to take a value in every solution. CCSPs model, for example, options on a car, for which the style of sunroof (a variable) only makes sense if the car has a sunroof at all. FMs are directed acyclic graphs of features with constraints on edges. FMs model, for example, cell phone features, where utility functions are required, but the particular utility function "games" is optional, but requires Java support. We show that existing techniques from formal methods and answer set programming can be used to naturally model CCSPs and FMs. We demonstrate configurators in both approaches. An advantage of these approaches is that the model builder does not have to reformulate the CCSP or FM into a classic CSP, converting potential variables into classical variables by adding a "does not exist" value and modifying the problem constraints. Our configurators automatically reason about the model itself, enumerating all solutions and discovering several kinds of model flaws.
引用
收藏
页码:163 / 174
页数:12
相关论文
共 20 条
[1]  
[Anonymous], 2000, Generative Programming: Methods, Tools, and Applications
[2]  
Benavides D, 2005, LECT NOTES COMPUT SC, V3520, P491
[3]  
BOWEN J, 1991, PROCEEDINGS : NINTH NATIONAL CONFERENCE ON ARTIFICIAL INTELLIGENCE, VOLS 1 AND 2, P215
[4]   Reasoning about Conditional Constraint Specifications [J].
Finkel, Raphael ;
O'Sullivan, Barry .
ICTAI: 2009 21ST INTERNATIONAL CONFERENCE ON TOOLS WITH ARTIFICIAL INTELLIGENCE, 2009, :349-+
[5]   clasp: A conflict-driven answer set solver [J].
Gebser, Martin ;
Kaufmann, Benjamin ;
Neumann, Andre ;
Schaub, Torsten .
LOGIC PROGRAMMING AND NONMONOTONIC REASONING, PROCEEDINGS, 2007, 4483 :260-+
[6]   Solving mixed and conditional constraint satisfaction problems [J].
Gelle, E ;
Faltings, B .
CONSTRAINTS, 2003, 8 (02) :107-141
[7]  
GIUNCHIGLIA E, 2004, P AAAI
[8]   Software engineering and formal methods [J].
Hinchey, Mike ;
Jackson, Michael ;
Cousot, Patrick ;
Cook, Byron ;
Bowen, Jonathan P. ;
Margaria, Tiziana .
COMMUNICATIONS OF THE ACM, 2008, 51 (09) :54-59
[9]   Alloy: A lightweight object modelling notation [J].
Jackson, D .
ACM TRANSACTIONS ON SOFTWARE ENGINEERING AND METHODOLOGY, 2002, 11 (02) :256-290
[10]  
Junker U, 2006, FOUND ARTIF INTELL, P837