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 条
  • [41] Optimal union-find in Constraint Handling Rules
    Schrijvers, T
    Frühwirth, T
    THEORY AND PRACTICE OF LOGIC PROGRAMMING, 2006, 6 : 213 - 224
  • [42] Expressive power of constraint handling rules extensions and fragments
    Mauro, Jacopo
    Bulletin of the European Association for Theoretical Computer Science, 2013, 111 : 168 - 194
  • [43] Implementation of Logical Retraction in Constraint Handling Rules with Justifications
    Fruehwirth, Thom
    DECLARATIVE PROGRAMMING AND KNOWLEDGE MANAGEMENT, DECLARE 2017, 2018, 10997 : 37 - 52
  • [44] A prolog constraint handling rules compiler and runtime system
    Holzbaur, C
    Frühwirth, T
    APPLIED ARTIFICIAL INTELLIGENCE, 2000, 14 (04) : 369 - 388
  • [45] A unified semantics for constraint handling rules in transaction logic
    Meister, Marc
    Djelloul, Khalil
    Robin, Jacques
    LOGIC PROGRAMMING AND NONMONOTONIC REASONING, PROCEEDINGS, 2007, 4483 : 201 - +
  • [46] EXPRESSIVE POWER OF CONSTRAINT HANDLING RULES EXTENSIONS AND FRAGMENTS
    Mauro, Jacopo
    BULLETIN OF THE EUROPEAN ASSOCIATION FOR THEORETICAL COMPUTER SCIENCE, 2013, (111): : 168 - 194
  • [47] (Co-)Inductive semantics for Constraint Handling Rules
    Haemmerle, Remy
    THEORY AND PRACTICE OF LOGIC PROGRAMMING, 2011, 11 : 593 - 609
  • [48] Confluence Modulo Equivalence with Invariants in Constraint Handling Rules
    Gall, Daniel
    Fruehwirth, Thom
    FUNCTIONAL AND LOGIC PROGRAMMING, FLOPS 2018, 2018, 10818 : 116 - 131
  • [49] On proving confluence modulo equivalence for Constraint Handling Rules
    Christiansen, Henning
    Kirkeby, Maja H.
    FORMAL ASPECTS OF COMPUTING, 2017, 29 (01) : 57 - 95
  • [50] Towards Automatic Poetry Generation using Constraint Handling Rules
    el Bolock, Alia
    Abdennadher, Slim
    30TH ANNUAL ACM SYMPOSIUM ON APPLIED COMPUTING, VOLS I AND II, 2015, : 1868 - 1873