arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1105.3414cs.LOcs.PL
收藏

权重约束与聚合程序的关系:语义与表示

Relating Weight Constraint and Aggregate Programs: Semantics and Representation

Guohua Liu, Jia-Huai You

摘要:

权约束和聚集程序是最广泛使用的带约束的逻辑程序。在本文中,我们涉及这两类程序的语义,即稳定的模型语义的权重约束程序和答案集语义的基础上的条件满足聚合程序。这两类程序都是具有约束的逻辑程序的实例,并且特别地,聚合程序的答案集语义可以应用于权重约束程序。我们表明,这两个语义是密切相关的。首先,我们表明,广泛的一类重量约束的程序,称为强可满足的程序,这两个语义一致。当它们不一致时,由稳定模型语义承认的稳定模型可以循环地证明。我们表明,这两种语义之间的差距可以通过将权重约束程序转换为强可满足的程序来关闭,因此在当前实现的稳定模型语义下可能不会生成循环模型。我们进一步证明了这两个语义之间的密切关系,制定一个转换从权重约束程序到逻辑程序与嵌套表达式,保留了答案集语义。我们的语义研究导致了一个方法论问题的调查,即可能性的紧凑表示的聚合程序的重量约束程序。我们表明,几乎所有的标准聚集可以编码的重量约束competencies。这使得有可能计算的答案集的聚合程序使用的ASP求解器的重量约束的程序。这种方法进行了实验比较,其中聚集处理更明确,这表明,权重约束编码的聚集,使一个有竞争力的方法来回答集计算的聚集程序。

英文摘要:

Weight constraint and aggregate programs are among the most widely used logic programs with constraints. In this paper, we relate the semantics of these two classes of programs, namely the stable model semantics for weight constraint programs and the answer set semantics based on conditional satisfaction for aggregate programs. Both classes of programs are instances of logic programs with constraints, and in particular, the answer set semantics for aggregate programs can be applied to weight constraint programs. We show that the two semantics are closely related. First, we show that for a broad class of weight constraint programs, called strongly satisfiable programs, the two semantics coincide. When they disagree, a stable model admitted by the stable model semantics may be circularly justified. We show that the gap between the two semantics can be closed by transforming a weight constraint program to a strongly satisfiable one, so that no circular models may be generated under the current implementation of the stable model semantics. We further demonstrate the close relationship between the two semantics by formulating a transformation from weight constraint programs to logic programs with nested expressions which preserves the answer set semantics. Our study on the semantics leads to an investigation of a methodological issue, namely the possibility of compact representation of aggregate programs by weight constraint programs. We show that almost all standard aggregates can be encoded by weight constraints compactly. This makes it possible to compute the answer sets of aggregate programs using the ASP solvers for weight constraint programs. This approach is compared experimentally with the ones where aggregates are handled more explicitly, which show that the weight constraint encoding of aggregates enables a competitive approach to answer set computation for aggregate programs.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑