Parallelism, concurrency and distribution in constraint handling rules: A survey

被引:1
|
作者
Fruehwirth, Thom [1 ]
机构
[1] Ulm Univ, Inst Software Engn & Programming Languages, D-89069 Ulm, Germany
关键词
parallelism; concurrency; distribution; constraint handling rules; declarative programming; concurrent constraint programming; semantics; rewriting; concurrency models; CHR; PROGRAMS; MODEL;
D O I
10.1017/S1471068418000078
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Constraint Handling Rules (CHR) is both an effective concurrent declarative programming language and a versatile computational logic formalism. In CHR, guarded reactive rules rewrite a multi-set of constraints. Concurrency is inherent, since rules can be applied to the constraints in parallel. In this comprehensive survey, we give an overview of the concurrent, parallel as well as distributed CHR semantics, standard and more exotic, that have been proposed over the years at various levels of refinement. These semantics range from the abstract to the concrete. They are related by formal soundness results. Their correctness is proven as a correspondence between parallel and sequential computations. On the more practical side, we present common concise example CHR programs that have been widely used in experiments and benchmarks. We review parallel and distributed CHR implementations in software as well as hardware. The experimental results obtained show a parallel speed-up for unmodified sequential CHR programs. The software implementations are available online for free download and we give the web links. Due to its high level of abstraction, the CHR formalism can also be used to implement and analyse models for concurrency. To this end, the Software Transaction Model, the Actor Model, Colored Petri Nets and the Join-Calculus have been faithfully encoded in CHR. Finally, we identify and discuss commonalities of the approaches surveyed and indicate what problems are left open for future research.
引用
收藏
页码:759 / 805
页数:47
相关论文
共 50 条
  • [1] Handling Parallelism in a Concurrency Model
    Schill, Mischael
    Nanz, Sebastian
    Meyer, Bertrand
    MULTICORE SOFTWARE ENGINEERING, PERFORMANCE, AND TOOLS, 2013, 8063 : 37 - 48
  • [2] Constraint solving with constraint handling rules
    Frühwirth, T
    INTENSIONAL PROGRAMMING II: BASED ON THE PAPERS AT ISLIP'99, 2000, : 14 - 30
  • [3] Aggregates in Constraint Handling Rules
    Sneyers, Jon
    Van Weert, Peter
    Schrijvers, Tom
    Demoen, Bart
    LOGIC PROGRAMMING, PROCEEDINGS, 2007, 4670 : 446 - 448
  • [4] Transactions in Constraint Handling Rules
    Schrijvers, Tom
    Sulzmann, Martin
    LOGIC PROGRAMMING, PROCEEDINGS, 2008, 5366 : 516 - +
  • [5] Quantified Constraint Handling Rules
    Barichard, Vincent
    Stephan, Igor
    ELECTRONIC PROCEEDINGS IN THEORETICAL COMPUTER SCIENCE, 2019, (306): : 210 - 223
  • [6] On completion of constraint handling rules
    Abdennadher, S
    Frühwirth, T
    PRINCIPLES AND PRACTICE OF CONSTRAINT PROGRAMMING - CP98, 1998, 1520 : 25 - 39
  • [7] Soft constraint propagation and solving in constraint handling rules
    Bistarelli, S
    Frühwirth, T
    Marte, M
    Rossi, F
    COMPUTATIONAL INTELLIGENCE, 2004, 20 (02) : 287 - 307
  • [8] Integrating Abduction and Constraint Optimization in Constraint Handling Rules
    Gavanelli, Marco
    Alberti, Marco
    Lamma, Evelina
    ECAI 2008, PROCEEDINGS, 2008, 178 : 903 - +
  • [9] Workshop on java and components for parallelism, distribution and concurrency - JAVAPDC
    IPDPS 2009 - Proceedings of the 2009 IEEE International Parallel and Distributed Processing Symposium, 2009,
  • [10] A comparison of constraint handling rules with equivalent transformation rules
    Shigeta, Y
    Akama, K
    Chippimolchai, P
    Ishikawa, T
    MSV'04 & AMCS'04, PROCEEDINGS, 2004, : 345 - 351