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 条
  • [31] Introductory Concurrency and Parallelism Education
    Giacaman, Nasser
    Adams, Joel
    PROCEEDINGS OF THE ACM CONFERENCE ON GLOBAL COMPUTING EDUCATION (COMPED '19), 2019, : 171 - 171
  • [32] A complete and terminating execution model for Constraint Handling Rules
    Betz, Hariolf
    Raiser, Frank
    Fruehwirth, Thom
    THEORY AND PRACTICE OF LOGIC PROGRAMMING, 2010, 10 : 597 - 610
  • [33] Compiling constraint handling rules for efficient tabled evaluation
    Sarna-Starosta, Beata
    Ramakrishnan, C. R.
    PRACTICAL ASPECTS OF DECLARATIVE LANGUAGES, 2007, 4354 : 170 - +
  • [34] Compiling constraint handling rules into prolog with attributed variables
    Holzbaur, C
    Frühwirth, T
    PRINCIPLES AND PRACTICE OF DECLARATIVE PROGRAMMING, PROCEEDINGS, 1999, 1702 : 117 - 133
  • [35] Satisfying Poetry Properties Using Constraint Handling Rules
    El Bolock, Alia
    Abdennadher, Slim
    COMPUTATIONAL LINGUISTICS AND INTELLIGENT TEXT PROCESSING (CICLING 2015), PT II, 2015, 9042 : 335 - 347
  • [36] Representing argumentation schemes with Constraint Handling Rules (CHR)
    Gordon, Thomas F.
    Friedrich, Horst
    Walton, Douglas
    ARGUMENT & COMPUTATION, 2018, 9 (02) : 91 - 119
  • [37] University course timetabling using constraint handling rules
    Abdennadher, S
    Marte, M
    APPLIED ARTIFICIAL INTELLIGENCE, 2000, 14 (04) : 311 - 325
  • [38] A linear-logic semantics for constraint handling rules
    Betz, H
    Frühwirth, T
    PRINCIPLES AND PRACTICE OF CONSTRAINT PROGRAMMING - CP 2005, PROCEEDINGS, 2005, 3709 : 137 - 151
  • [39] Understanding functional dependencies via constraint handling rules
    Sulzmann, Martin
    Duck, Gregory J.
    Peyton-Jones, Simon
    Stuckey, Peter J.
    JOURNAL OF FUNCTIONAL PROGRAMMING, 2007, 17 : 83 - 129
  • [40] Constraint handling rules with binders, patterns and generic quantification
    Serrano, Alejandro
    Hage, Jurriaan
    THEORY AND PRACTICE OF LOGIC PROGRAMMING, 2017, 17 (5-6) : 992 - 1009