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

Spacetime Programming:一种用于组合搜索策略的同步语言

Spacetime Programming: A Synchronous Language for Composable Search Strategies

Pierre Talbot

摘要:

搜索策略是有效求解约束满足问题的关键。然而,在现有的约束求解器中编程搜索策略是一项艰巨的任务,并且基于约束的语言通常具有组合性问题。我们提出时空编程,一个范例扩展同步语言Esterel和定时并发约束编程回溯,创建和组成搜索策略。在这种形式中,搜索策略的组成方式与我们组成并发进程的方式相同。我们的贡献包括时空编程的设计和行为语义,以及证明时空程序是确定性的,反应性的和广泛的功能。此外,时空编程提供了一个基于约束的并发性的理论基础和约束求解的实际方面之间的桥梁。我们开发了一个原型的编译器,产生搜索策略与一个小的开销相比,硬编码的。

英文摘要:

Search strategies are crucial to efficiently solve constraint satisfaction problems. However, programming search strategies in the existing constraint solvers is a daunting task and constraint-based languages usually have compositionality issues. We propose spacetime programming, a paradigm extending the synchronous language Esterel and timed concurrent constraint programming with backtracking, for creating and composing search strategies. In this formalism, the search strategies are composed in the same way as we compose concurrent processes. Our contributions include the design and behavioral semantics of spacetime programming, and the proofs that spacetime programs are deterministic, reactive and extensive functions. Moreover, spacetime programming provides a bridge between the theoretical foundations of constraint-based concurrency and the practical aspects of constraint solving. We developed a prototype of the compiler that produces search strategies with a small overhead compared to the hard-coded ones.

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

↑