Extending and implementing the stable model semantics

被引:430
作者
Simons, P
Niemelä, I
Soininen, T
机构
[1] Aalto Univ, Dept Comp Sci & Engn, Lab Theoret Comp Sci, FIN-02015 Espoo, Finland
[2] Neotide Oy, FIN-65200 Vaasa, Finland
[3] Aalto Univ, Dept Comp Sci & Engn, Software Business & Engn Inst, FIN-02015 Espoo, Finland
基金
芬兰科学院;
关键词
answer set programming; logic programs; stable model semantics; weight constraints; optimization;
D O I
10.1016/S0004-3702(02)00187-X
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
A novel logic program like language, weight constraint rules, is developed for answer set programming purposes. It generalizes normal logic programs by allowing weight constraints in place of literals to represent, e.g., cardinality and resource constraints and by providing optimization capabilities. A declarative semantics is developed which extends the stable model semantics of normal programs. The computational complexity of the language is shown to be similar to that of normal programs under the stable model semantics. A simple embedding of general weight constraint rules to a small subclass of the language called basic constraint rules is devised. An implementation of the language, the SMODELS System, is developed based on this embedding. It uses a two level architecture consisting of a front-end and a kernel language implementation. The front-end allows restricted use of variables and functions and compiles general weight constraint rules to basic constraint rules. A major part of the work is the development of an efficient search procedure for computing stable models for this kernel language. The procedure is compared with and empirically tested against satisfiability checkers and an implementation of the stable model semantics. It offers a competitive implementation of the stable model semantics for normal programs and attractive performance for problems where the new types of rules provide a compact representation. (C) 2002 Elsevier Science B.V. All rights reserved.
引用
收藏
页码:181 / 234
页数:54
相关论文
共 70 条
[1]  
Aiello L.C., 2001, ACM T COMPUTATIONAL, V2, P542
[2]   Analyzing single-server network inhibition [J].
Aura, T ;
Bishop, M ;
Sniegowski, D .
13TH IEEE COMPUTER SECURITY FOUNDATIONS WORKSHOP, PROCEEDINGS, 2000, :108-117
[3]   MIXED-INTEGER PROGRAMMING METHODS FOR COMPUTING NONMONOTONIC DEDUCTIVE DATABASES [J].
BELL, C ;
NERODE, A ;
NG, RT ;
SUBRAHMANIAN, VS .
JOURNAL OF THE ACM, 1994, 41 (06) :1178-1215
[4]   Default reasoning using classical logic [J].
BenEliyahu, R ;
Dechter, R .
ARTIFICIAL INTELLIGENCE, 1996, 84 (1-2) :113-150
[5]  
Buccafurri F, 1997, LECT NOTES ARTIF INT, V1265, P2
[6]  
Cadoli M, 1999, LECT NOTES COMPUT SC, V1551, P16
[7]   Computation of stable models and its integration with logical query processing [J].
Chen, WD ;
Warren, DX .
IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING, 1996, 8 (05) :742-757
[8]   Computing with default logic [J].
Cholewinski, P ;
Marek, VM ;
Mikitiuk, A ;
Truszczynski, M .
ARTIFICIAL INTELLIGENCE, 1999, 112 (1-2) :105-146
[9]   Experimental results on the crossover point in random 3-SAT [J].
Crawford, JM ;
Auton, LD .
ARTIFICIAL INTELLIGENCE, 1996, 81 (1-2) :31-57
[10]   A MACHINE PROGRAM FOR THEOREM-PROVING [J].
DAVIS, M ;
LOGEMANN, G ;
LOVELAND, D .
COMMUNICATIONS OF THE ACM, 1962, 5 (07) :394-397