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

CCP程序的转换

Transformations of CCP programs

Sandro Etalle, Maurizio Gabbrielli, Maria Chiara Meo

摘要:

介绍了一个并发约束程序设计的转换系统。我们定义了合适的适用性条件的转换,保证输入/输出CCP语义也被保存时,区分死锁计算成功的,当考虑中间结果(可能)非终止计算。该系统允许我们优化CCP程序,同时保留其预期的含义:除了顺序声明性语言的通常好处外,并发程序的转换还可以消除通信通道和同步点,将非确定性计算转换为确定性计算,并节省计算空间。此外,由于转换系统保留了程序的死锁行为,它可以用于证明给定程序对一类查询的无死锁性。为了达到这个目的,有时应用我们的变换和专门化得到的程序wrt给定的查询,这样得到的程序是平凡的死锁自由。

英文摘要:

We introduce a transformation system for concurrent constraint programming (CCP). We define suitable applicability conditions for the transformations which guarantee that the input/output CCP semantics is preserved also when distinguishing deadlocked computations from successful ones and when considering intermediate results of (possibly) non-terminating computations. The system allows us to optimize CCP programs while preserving their intended meaning: In addition to the usual benefits that one has for sequential declarative languages, the transformation of concurrent programs can also lead to the elimination of communication channels and of synchronization points, to the transformation of non-deterministic computations into deterministic ones, and to the crucial saving of computational space. Furthermore, since the transformation system preserves the deadlock behavior of programs, it can be used for proving deadlock freeness of a given program wrt a class of queries. To this aim it is sometimes sufficient to apply our transformations and to specialize the resulting program wrt the given queries in such a way that the obtained program is trivially deadlock free.

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

↑