Global variables in logic programming

被引:0
|
作者
Schachte, P
机构
关键词
D O I
暂无
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
We show that adding global variables to logic programming can solve some common problems of reliability and programmer productivity in large logic programs. By presenting a formal semantics for logic programs with global variables, we show that this addition retains a clean semantics. This addition has the consequences that conjunction is neither commutative nor absorptive, but we show that the practical loss is small. We also describe an implementation of Prolog with global variables as a translator to ordinary Prolog which preserves the efficiency of the Prolog program, while statically detecting some programming errors, and avoiding others altogether.
引用
收藏
页码:3 / 17
页数:15
相关论文
共 50 条
  • [1] Extending Logic Programming with Labelled Variables: Model and Semantics
    Calegari, Roberta
    Denti, Enrico
    Dovier, Agostino
    Omicini, Andrea
    [J]. FUNDAMENTA INFORMATICAE, 2018, 161 (1-2) : 53 - 74
  • [2] Probabilistic Logic Programming with Beta-Distributed Random Variables
    Cerutti, Federico
    Kaplan, Lance
    Kimmig, Angelika
    Sensoy, Murat
    [J]. THIRTY-THIRD AAAI CONFERENCE ON ARTIFICIAL INTELLIGENCE / THIRTY-FIRST INNOVATIVE APPLICATIONS OF ARTIFICIAL INTELLIGENCE CONFERENCE / NINTH AAAI SYMPOSIUM ON EDUCATIONAL ADVANCES IN ARTIFICIAL INTELLIGENCE, 2019, : 7769 - 7776
  • [3] The discovery of indicator variables for QSAR using inductive logic programming
    Ross D. King
    Ashwin Srinivasan
    [J]. Journal of Computer-Aided Molecular Design, 1997, 11 : 571 - 580
  • [4] The discovery of indicator variables for QSAR using inductive logic programming
    King, RD
    Srinivasan, A
    [J]. JOURNAL OF COMPUTER-AIDED MOLECULAR DESIGN, 1997, 11 (06) : 571 - 580
  • [5] Logic programming and constraint logic programming
    Cohen, J
    [J]. ACM COMPUTING SURVEYS, 1996, 28 (01) : 257 - 259
  • [6] Programming in logic without logic programming
    Kowalski, Robert
    Sadri, Fariba
    [J]. THEORY AND PRACTICE OF LOGIC PROGRAMMING, 2016, 16 : 269 - 295
  • [7] Probabilistic Relational Learning and Inductive Logic Programming at a Global Scale
    Poole, David
    [J]. INDUCTIVE LOGIC PROGRAMMING, ILP 2010, 2011, 6489 : 4 - 5
  • [8] QuERYAGT: Asynchronous global types in co-logic programming
    Bianchini, Riccardo
    Dagnino, Francesco
    [J]. SCIENCE OF COMPUTER PROGRAMMING, 2023, 225
  • [9] Global optimization for generalized geometric programming problems with discrete variables
    Shen, Pei-Ping
    Bai, Xiao-Di
    [J]. OPTIMIZATION, 2013, 62 (07) : 895 - 917
  • [10] Global minimum routing in evolutionary programming using fuzzy logic
    Alipouri, Yousef
    Poshtan, Javad
    Alipour, Hasan
    [J]. INFORMATION SCIENCES, 2015, 292 : 162 - 174