arXivDaily arXiv每日学术速递 周一至周五更新
arXiv cs/0208008cs.PLcs.AI
收藏

软并发约束程序设计

Soft Concurrent Constraint Programming

S. Bistarelli, U. Montanari, F. Rossi

摘要:

软约束扩展了经典约束,以表示多个一致性水平,从而提供了一种表达偏好,模糊性和不确定性的方法。虽然有许多软约束解决形式主义,甚至分布式的,到目前为止,似乎没有并发编程框架,软约束可以处理。在本文中,我们将展示如何经典的并发约束(CC)编程框架可以与软约束,我们还提出了一个扩展的CC语言,可以使用软约束修剪和直接搜索的解决方案。我们相信这种新的编程范例,称为软cc(scc),在许多与web相关的场景中也非常有用。事实上,语言级别允许Web代理表达他们的交互和协商协议,并根据偏好发布他们的请求,并且底层软约束求解器可以在代理之间找到协议,即使他们的请求不兼容。

英文摘要:

Soft constraints extend classical constraints to represent multiple consistency levels, and thus provide a way to express preferences, fuzziness, and uncertainty. While there are many soft constraint solving formalisms, even distributed ones, by now there seems to be no concurrent programming framework where soft constraints can be handled. In this paper we show how the classical concurrent constraint (cc) programming framework can work with soft constraints, and we also propose an extension of cc languages which can use soft constraints to prune and direct the search for a solution. We believe that this new programming paradigm, called soft cc (scc), can be also very useful in many web-related scenarios. In fact, the language level allows web agents to express their interaction and negotiation protocols, and also to post their requests in terms of preferences, and the underlying soft constraint solver can find an agreement among the agents even if their requests are incompatible.

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

↑