Treffer: Cardinality constraints in disjunctive deductive databases
Fraunhofer FIRST Berlin, Kekuléstrasse 7, 12489 Berlin, Germany
CC BY 4.0
Sauf mention contraire ci-dessus, le contenu de cette notice bibliographique peut être utilisé dans le cadre d’une licence CC BY 4.0 Inist-CNRS / Unless otherwise stated above, the content of this bibliographic record may be used under a CC BY 4.0 licence by Inist-CNRS / A menos que se haya señalado antes, el contenido de este registro bibliográfico puede ser utilizado al amparo de una licencia CC BY 4.0 Inist-CNRS
Weitere Informationen
We investigate cardinality constraints of the form M →e K, where M is a set and θ is one of the comparison operators =, ≤, or ≥; 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 Pc, such that the models of Pc 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 Pcc, which allows for directly reasoning with sets of exactly cardinality constraints (i.e., where θ is =). Reasoning with Pcc is very efficient, and it can be used for performance reasons before Pc is evaluated. For obtaining completeness, however, Pc is necessary, since we show the theoretical result that a sound and complete calculus for exactly-cardinality constraints does not exist.