is run with S
1
as input. This process continues until
an optimal solution is reached.
On the contrary,
P L P semantics introduces the tran-
sitive property of preference relation, thus admits the
preference relation between two solutions which are
not directly comparable. Consequently, in this case
two-step procedure is needed: in the first step all
the direct preference relations among solutions have
to be established; then the transitive relations can be
discovered and the final conclusion can be derived.
Wakaki et. al in (Wakaki et al., 2003) implement the
direct comparisons by testing each answer set of
P
with a tester program; and then create an auxiliary
logic program which extracts all preferred solutions
on the basis of the preference relations generated at
the previous step and those discovered by using the
transitive property.
In the general case, both the approaches, previously
described, need to perform more calls to the tester
program which is in charge of computing the set of
solution of
P . The approach adopted in CHOPPER
aims to avoid the redundant computation of the set of
solution of
P , performed during each call to the tester
program. CHOPPER uses once the logic prover to
find the set of solutions of the problem, and realizes
the prioritized reasoning by means of personalized
comparison procedures.
6 CONCLUSION
In this paper the implementation of prioritized rea-
soning in logic programming has been discussed.
In particular, the case of preference relation among
atoms has been investigated and a system, called
CHOPPER, has been described. This system realizes
choice optimization in logic programming by imple-
menting the ASO
Ch
and ASO
FCh
semantics recently
proposed in (Caroprese et al., 2007), and supports the
ASO semantics (Brewka et al., 2003). In this paper
the architecture of the system has been presented and
aspects of the choice identification strategies and of
the feasibility of choice options has been discussed.
Moreover, the comparison of the proposed approach
with the other implementation approaches proposed
in the literature has been provided.
REFERENCES
Brewka, G. (2002). Logic programming with ordered dis-
junction. In Proc. of the 18th Nat. Conf. on Artifi-
cial Intelligence (AAAI/IAAA), pages 100–105. AAAI
Press.
Brewka, G. and Eiter, T. (1999). Preferred answer sets
for extended logic programs. Artificial Intelligence,
109(1-2):297–356.
Brewka, G., Niemela, I., and Truszczynski, M. (2003). Ans-
wer set optimization. In Proc. of the 18th Int. Joint
Conf. on Artificial Intelligence, pages 867–872. Mor-
gan Kaufmann.
Caroprese, L., Trubitsyna, I., and Zumpano, E. (2007).
A framework for prioritized reasoning based on the
choice evaluation. In Proc. of the 22nd Annual ACM
Symposium on Applied Computing.
Cholewinski, P., Marek, V. W., and Truszczynski, M.
(1996). Default reasoning system deres. In Proc.
of the 5th Int. Conf. KR’97, pages 518–528. Morgan
Kaufmann.
Delgrande, J. P., Schaub, T., and Tompits, H. (2000). Logic
programs with compiled preferences. In Proc. of the
14th Eur. Conf. on Artificial Intelligence, pages 464–
468. IOS Press.
Delgrande, J. P., Schaub, T., and Tompits, H. (2003). A
framework for compiling preferences in logic pro-
grams. TPLP, 3(2):129–187.
Delgrande, J. P., Schaub, T., Tompits, H., and K., W. (2004).
A classification and survey of preference handling ap-
proaches in nonmonotonic reasoning. Computational
Intelligence, 20(2):308–334.
Gelfond, M. and Son, T. (1997). Reasoning with prioritized
defaults. In Proc. of the 3d Int. Workshop LPKR’97,
pages 164–223. Springer.
Janhunen, T., Niemela, I., Simons, P., and You, J.-H. (2000).
Unfolding partiality and disjunctions in stable model
semantics. In Proc. of the 7th Int. Conf. KR’00, pages
411–419. Morgan Kaufmann.
Leone, N., Pfeifer, G., Faber, W., Calimeri, F., Dell’Armi,
T., Eiter, T., Gottlob, G., Ianni, G., Ielpa, G., Koch,
K., Perri, S., and Polleres, A. (2002). The dlv sy-
stem. In Proc. of Eur. Conf. JELIA’02, pages 537–540.
Springer.
Sakama, C. and Inoue, K. (2000). Priorized logic program-
ming and its application to commonsense reasoning.
Artificial Intelligence, 123:185–222.
Syrjanen, T. and Niemela, I. (2001). The smodels system.
In Proc. of the 6th Int. Conf. LPNMR’01, pages 434–
438. Springer.
Wakaki, T., Inoue, K. nd Sakama, C., and Nitta, K. (2003).
Computing preferred answer sets in answer set prog-
ramming. In Proc. of the 10th Int. Conf. LPAR’03,
pages 259–273. Springer.
ICEIS 2007 - International Conference on Enterprise Information Systems
100