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 条
  • [1] Pattern-based parallel programming
    Bromling, S
    MacDonald, S
    Anvik, J
    Schaeffer, J
    Szafron, D
    Tan, K
    2002 INTERNATIONAL CONFERENCE ON PARALLEL PROCESSING, PROCEEDING, 2002, : 257 - 265
  • [2] A pattern-based approach to facilitating service composition
    Hu, HT
    Han, YB
    Huang, K
    Li, G
    Zhao, ZF
    GRID AND COOPERATIVE COMPUTING GCC 2004 WORKSHOPS, PROCEEDINGS, 2004, 3252 : 90 - 98
  • [3] Why not use a pattern-based parallel programming system?
    Anvik, J
    Schaeffer, J
    Szafron, D
    Tan, K
    EURO-PAR 2003 PARALLEL PROCESSING, PROCEEDINGS, 2003, 2790 : 81 - 86
  • [4] A behavioral analysis approach to pattern-based composition
    Dong, J
    Alencar, PSC
    Cowan, DD
    OOIS 2001: 7TH INTERNATIONAL CONFERENCE ON OBJECT-ORIENTED INFORMATION SYSTEMS, PROCEEDINGS, 2001, : 540 - 549
  • [5] Description and Verification of Pattern-Based Composition in Coq
    Liu, Qiang
    Ynag, Zhongyuan
    Xie, Jinkui
    ADVANCES IN COMPUTATIONAL SCIENCE AND ENGINEERING, 2009, 28 : 231 - 245
  • [6] On Pattern-Based Programming towards the Discovery of Frequent Patterns
    Kerdprasop, Kittisak
    Kerdprasop, Nittaya
    PROCEEDINGS OF WORLD ACADEMY OF SCIENCE, ENGINEERING AND TECHNOLOGY, VOL 26, PARTS 1 AND 2, DECEMBER 2007, 2007, 26 : 472 - +
  • [7] Panda: a Pattern-based Programming System for Automatic Code Generation
    Mazzeranghi, Daniele
    JOURNAL OF OBJECT TECHNOLOGY, 2008, 7 (04): : 67 - 99
  • [8] A Pattern-based Service Composition Approach for Profit Optimaizion
    Xu, Hanchuan
    Zhuang, Yaou
    Wang, Zhongjie
    Xu, Xiaofei
    2015 INTERNATIONAL CONFERENCE ON SERVICE SCIENCE (ICSS), 2015, : 125 - 130
  • [9] Pattern-based service composition for user satisfaction and service revenue
    Xu, Hanchuan
    Zhuang, Yaou
    Gu, Hao
    Xu, Xiaofei
    Zhang, Yuxin
    INTERNATIONAL JOURNAL OF SERVICES TECHNOLOGY AND MANAGEMENT, 2019, 25 (5-6) : 585 - 600
  • [10] A behavioral analysis and verification approach to pattern-based design composition
    Jing Dong
    Paulo S.C. Alencar
    Donald D. Cowan
    Software and Systems Modeling, 2004, 3 (4): : 262 - 272