arXivDaily arXiv每日学术速递 周一至周五更新
arXiv cs/9909010cs.AIcs.PL
收藏

有限小区域约束传播算法的自动生成

Automatic Generation of Constraint Propagation Algorithms for Small Finite Domains

Krzysztof R. Apt, Eric Monfroy

摘要:

我们在这里研究的约束满足问题是基于预定义的,明确给定的有限约束。为了解决这些问题,我们提出了一个概念,规则的一致性,可以表示在规则的初始约束的显式表示。这个概念的局部一致性是弱于弧一致性的约束任意arity,但符合它的所有域是一元或二元。对于布尔约束,规则一致性与布尔约束的著名传播规则下的闭包一致。通过推广规则的格式,我们得到了弧一致性的一个特征,在所谓的包含规则。规则一致性和弧一致性的这种基于规则的表征的优点在于,可以自动生成强制执行这两个概念的算法,作为可执行规则。因此,这些算法可以集成到约束逻辑编程系统,如Eclipse。我们说明了这种方法的有用性约束传播,讨论这两种算法的实现和它们的使用上的各种例子,包括布尔约束,三值逻辑的Kleene,约束处理华尔兹的语言描述多面体场景,和艾伦的定性方法时序逻辑。

英文摘要:

We study here constraint satisfaction problems that are based on predefined, explicitly given finite constraints. To solve them we propose a notion of rule consistency that can be expressed in terms of rules derived from the explicit representation of the initial constraints. This notion of local consistency is weaker than arc consistency for constraints of arbitrary arity but coincides with it when all domains are unary or binary. For Boolean constraints rule consistency coincides with the closure under the well-known propagation rules for Boolean constraints. By generalizing the format of the rules we obtain a characterization of arc consistency in terms of so-called inclusion rules. The advantage of rule consistency and this rule based characterization of the arc consistency is that the algorithms that enforce both notions can be automatically generated, as CHR rules. So these algorithms could be integrated into constraint logic programming systems such as Eclipse. We illustrate the usefulness of this approach to constraint propagation by discussing the implementations of both algorithms and their use on various examples, including Boolean constraints, three valued logic of Kleene, constraints dealing with Waltz's language for describing polyhedreal scenes, and Allen's qualitative approach to temporal logic.

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

↑