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

有限域约束程序设计系统中的领域专用语言

Domain-specific Languages in a Finite Domain Constraint Programming System

Vienna University of Technology(维也纳技术大学)

Markus Triska

摘要:

在本文中,我们提出了特定领域的语言(DSL),我们设计的有限域约束编程系统,可作为库(clpfd)在SWI-Prolog和YAP-Prolog的实现中使用。这些DSL用于传播子选择和约束具体化。在这些领域,它们导致了简明的规范,易于阅读和推理。在编译时,这些规范被翻译成Prolog代码,减少了解释性运行时开销。所设计的语言也可用于其他有限域约束求解器的实现,并可能有助于其正确性,简洁性和效率。

英文摘要:

In this paper, we present domain-specific languages (DSLs) that we devised for their use in the implementation of a finite domain constraint programming system, available as library(clpfd) in SWI-Prolog and YAP-Prolog. These DSLs are used in propagator selection and constraint reification. In these areas, they lead to concise specifications that are easy to read and reason about. At compilation time, these specifications are translated to Prolog code, reducing interpretative run-time overheads. The devised languages can be used in the implementation of other finite domain constraint solvers as well and may contribute to their correctness, conciseness and efficiency.

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

↑