Cardinality constraints in disjunctive deductive databases

被引:0
|
作者
Seipel, D [1 ]
Geske, U
机构
[1] Univ Wurzburg, Dept Comp Sci, D-97074 Wurzburg, Germany
[2] Fraunhofer First Berlin, D-12489 Berlin, Germany
来源
SEMANTICS IN DATABASES | 2003年 / 2582卷
关键词
disjunctive logic programming; constraint logic programming; cardinality constraints; hyperresolution;
D O I
暂无
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
We investigate cardinality constraints of the form M -theta K, where M is a set and theta is one of the comparison operators or "greater than or equal to"; such a constraint states that "exactly", "at most", or "at least", respectively, K elements out of the set M have to be chosen. We show how a set C of constraints can be represented by means of a positive-disjunctive deductive database P(c), such that the models of P(c) correspond to the solutions of C. This allows for embedding cardinality constraints into applications dealing with incomplete knowledge. We also present a sound calculus represented by a definite logic program P(cc), which allows for directly reasoning with sets of exactly-cardinality constraints (i.e., where theta is "="). Reasoning with P(cc) is very efficient, and. it can be used for performance reasons before P(c) is evaluated. For obtaining completeness, however, P(c) is necessary, since we show the theoretical result that a sound and complete calculus,for exactly-cardinality constraints does not exist.
引用
收藏
页码:179 / 199
页数:21
相关论文
共 50 条