Programming Pattern-based Composition in Golog

被引:0
|
作者
Liu, Qiang [1 ]
Yang, Zongyuan [1 ]
Liu, Ying [2 ]
机构
[1] East China Normal Univ, Dept Comp Sci & Technol, Shanghai 200062, Peoples R China
[2] Shandong Econom & Commercial Vocat Coll, Dept Comp Sci, Shandong, Peoples R China
关键词
design pattern; composition; logic programming; Siuation Calculus; Golog;
D O I
10.1109/ICCSIT.2009.5234803
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Pattern-based composition is rather complex and need formal treatments. This paper demonstrates an approach based on logic programming language Golog, whose logical foundations roots in the Situation Calculus. The first step is formalizing design patterns by a set of fluents, actions and corresponding axioms in the Situation Calculus. Based on the formal specification of the underlying patterns, we program their composition in Golog. The program constructs available in Golog provide us with flexible and expressive means for pattern composition. Since the composed specifications in Golog can be regress into the Situation Calculus formulas by Golog interpreter, the properties of underlying patterns can be preserved in their composition. As a case study, we formalize and compose the Mediator pattern and Observer pattern.
引用
收藏
页码:573 / +
页数:2
相关论文
共 50 条
  • [41] A language-independent and formal approach to pattern-based modelling with support for composition and analysis
    Bottoni, Paolo
    Guerra, Esther
    de Lara, Juan
    INFORMATION AND SOFTWARE TECHNOLOGY, 2010, 52 (08) : 821 - 844
  • [42] Team Programming in Golog under Partial Observability
    Farinelli, Alessandro
    Finzi, Alberto
    Lukasiewicz, Thomas
    20TH INTERNATIONAL JOINT CONFERENCE ON ARTIFICIAL INTELLIGENCE, 2007, : 2097 - 2102
  • [43] GOLOG: A logic programming language for dynamic domains
    Levesque, HJ
    Reiter, R
    Lesperance, Y
    Lin, FZ
    Scherl, RB
    JOURNAL OF LOGIC PROGRAMMING, 1997, 31 (1-3): : 59 - 83
  • [44] Local pattern-based interval models
    Cholewa, W
    ARTIFICIAL INTELLIGENCE AND SOFT COMPUTING - ICAISC 2004, 2004, 3070 : 948 - 953
  • [45] A Moire Pattern-Based Thread Counter
    Reich, Gary
    PHYSICS TEACHER, 2017, 55 (07): : 426 - 430
  • [46] PATTERN-BASED ONTOLOGY TRANSFORMATION SERVICE
    Svab-Zamazal, Ondrej
    Svatek, Vojtech
    Scharffe, Francois
    KEOD 2009: PROCEEDINGS OF THE INTERNATIONAL CONFERENCE ON KNOWLEDGE ENGINEERING AND ONTOLOGY DEVELOPMENT, 2009, : 42 - +
  • [47] Pattern-based guidelines for coordination engineering
    Etcheverry, P
    Lopistéguy, P
    Dagorret, P
    DATABASE AND EXPERT SYSTEMS APPLICATIONS, 2001, 2113 : 155 - 164
  • [48] Pattern-based development of communication systems
    Gotzhein, R
    Schaible, P
    ANNALES DES TELECOMMUNICATIONS-ANNALS OF TELECOMMUNICATIONS, 1999, 54 (11-12): : 508 - 525
  • [49] Discovering pattern-based subspace clusters by pattern tree
    Guan, Jihong
    Gan, Yanglan
    Wang, Hao
    KNOWLEDGE-BASED SYSTEMS, 2009, 22 (08) : 569 - 579
  • [50] Pattern-based unsupervised parsing method
    Santamaria, Jesus
    Araujo, Lourdes
    NATURAL LANGUAGE ENGINEERING, 2016, 22 (03) : 397 - 422