arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1510.03057cs.MMcs.LO
收藏

面向多媒体交互系统的非线程并发约束编程

Towards non-threaded Concurrent Constraint Programming for implementing multimedia interaction systems

Mauricio Toro

摘要:

在这项工作中,我们解释了并发约束编程(CCP)和非确定性时间并发约束(NTCC)的并发约束的事件驱动的实时解释器的实现。CCP解释器进行了测试,同时,在一个图形中的路径,它将被用于在未来的音乐即兴创作软件Omax中找到音乐序列,由法国声学/音乐研究所(IRCAM)开发。在另一方面,NTCC解释器进行了测试与音乐即兴系统的基础上NTCC(CCFOMI),由AVISPA研究小组和IRCAM开发。此外,我们还介绍了通用约束开发环境(GECODE)到Common LISP的包装器GECOL 2,它是为了将来将解释器移植到Common LISP而进行的。我们的结论是,使用GECODE的并发控制避免了线程和同步的需要,导致一个简单而有效的实现CCP和NTCC。我们还注意到,NTCC解释器中的时间单元并不表示离散的时间单元,因为当我们在解释器中模拟NTCC规范时,时间单元具有不同的持续时间。在未来,我们建议强制每个时间单位的持续时间为固定时间,这样我们就能够像处理离散时间单位一样对NTCC时间单位进行推理。

英文摘要:

In this work we explain the implementation of event-driven real-time interpreters for the Concurrent Constraint Programming (CCP) and Non-deterministic Timed Concurrent Constraint (NTCC) for- malisms. The CCP interpreter was tested with a program to find, concurrently, paths in a graph and it will be used in the future to find musical sequences in the music improvisation software Omax, developed by the French Acoustics/Music Research Institute (IRCAM). In the other hand, the NTCC interpreter was tested with a music improvisation system based on NTCC (CCFOMI), developed by the AVISPA research group and IRCAM. Additionally, we present GECOL 2, a wrapper for the Generic Constraints Development Environment (GECODE) to Common LISP, de- veloped to port the interpreters to Common LISP in the future. We concluded that using GECODE for the concurrency control avoids the need of having threads and synchronizing them, leading to a simple and efficient implementation of CCP and NTCC. We also noticed that the time units in NTCC interpreter do not represent discrete time units, because when we simulate the NTCC specifications in the interpreter, the time units have different durations. In the future, we propose forcing the duration of each time unit to a fix time, that way we would be able to reason about NTCC time units as we do with discrete time units.

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

↑