Adding partial functions to Constraint Logic Programming with sets

被引:5
|
作者
Cristia, Maximiliano [1 ,2 ]
Rossi, Gianfranco [3 ]
Frydman, Claudia [4 ]
机构
[1] CIFASIS, Rosario, Argentina
[2] UNR, Rosario, Argentina
[3] Univ Parma, I-43100 Parma, Italy
[4] Univ Toulon & Var, Aix Marseille Univ, CNRS, ENSAM,LSIS UMR 7296, Toulon, France
关键词
CLP; {log}; set theory; partial functions; LANGUAGE;
D O I
10.1017/S1471068415000290
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Partial functions are common abstractions in formal specification notations such as Z, B and Alloy. Conversely, executable programming languages usually provide little or no support for them. In this paper we propose to add partial functions as a primitive feature to a Constraint Logic Programming (CLP) language, namely {log}. Although partial functions could be programmed on top of {log}, providing them as first-class citizens adds valuable flexibility and generality to the form of set-theoretic formulas that the language can safely deal with. In particular, the paper shows how the {log} constraint solver is naturally extended in order to accommodate for the new primitive constraints dealing with partial functions. Efficiency of the new version is empirically assessed by running a number of non-trivial set-theoretical goals involving partial functions, obtained from specifications written in Z.
引用
收藏
页码:651 / 665
页数:15
相关论文
共 50 条
  • [31] CONSTRAINT LOGIC PROGRAMMING-LANGUAGES
    COHEN, J
    COMMUNICATIONS OF THE ACM, 1990, 33 (07) : 52 - 68
  • [32] CONSTRAINT LOGIC PROGRAMMING AND OPTION TRADING
    LASSEZ, C
    MCALOON, K
    YAP, R
    IEEE EXPERT-INTELLIGENT SYSTEMS & THEIR APPLICATIONS, 1987, 2 (03): : 42 - 50
  • [33] Integrating answer set programming and constraint logic programming
    Veena S. Mellarkod
    Michael Gelfond
    Yuanlin Zhang
    Annals of Mathematics and Artificial Intelligence, 2008, 53 : 251 - 287
  • [34] Quantifier elimination for constraint logic programming
    Sturm, T
    COMPUTER ALGEBRA IN SCIENFIFIC COMPUTING, PROCEEDINGS, 2005, 3718 : 416 - 430
  • [35] Temporal annotated constraint logic programming
    Fruhwirth, T
    JOURNAL OF SYMBOLIC COMPUTATION, 1996, 22 (5-6) : 555 - 583
  • [36] A step from Constraint Logic Programming to mathematical programming
    Rodosek, R
    SOR '97 - THE 4TH INTERNATIONAL SYMPOSIUM ON OPERATIONAL RESEARCH, PROCEEDINGS, 1997, : 201 - 206
  • [37] Experiments in reactive constraint logic programming
    Fages, F
    Fowler, J
    Sola, T
    JOURNAL OF LOGIC PROGRAMMING, 1998, 37 (1-3): : 185 - 212
  • [38] A system for tabled constraint logic programming
    Cui, BQ
    Warren, DS
    COMPUTATIONAL LOGIC - CL 2000, 2000, 1861 : 478 - 492
  • [39] A REWRITE APPROACH FOR CONSTRAINT LOGIC PROGRAMMING
    RICHARD, G
    SAUBION, F
    LATIN '95: THEORETICAL INFORMATICS, 1995, 911 : 469 - 482
  • [40] Data mining as constraint logic programming
    De Raedt, L
    COMPUTATIONAL LOGIC: LOGIC PROGRAMMING AND BEYOND, PT II, 2002, 2408 : 526 - 547