作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

›› 2001, Vol. 27 ›› Issue (05): 8-.

• 论文 • 上一篇    下一篇

一种设计模式的混合规范描述模型研究

万剑怡,薛锦云   

  1. 上海交通大学,江西师范大学计算机科学系 A9803092信箱上海 200030 江西师范大学计算机科学系南昌,330027, 南昌,330027
  • 发布日期:2001-05-25

Research on a Hybrid Specification Model for Design Patterns

WAN Jianyi1,2,XUE Jinyun2   

  1. (1.Shanghai Jiaotong University #A9803092,Shanghai 2000302.Computer Science Department of Jiangxi Normal University,Nanchang 330027)
  • Published:2001-05-25

摘要: 设计模式形式规范描述的研究对于设计模式的广泛重用具有重要的意义。以设计模式的模型规范描(DPs)3(Three-model Specification)述方法为基础,提出了一种设计模式的混合规范描述模型。该模型采用图示化的手段描述的静态结构,采用图示化和时态逻辑方法相结DPs合的手段描述动态行为中各参与者行为操作的语义,克服了一般图示化方法对进行完整描述需借助自然语言的补充从而DPs(participants)DPs引起的二义性问题,比较精确、完整地描述了的静态结构和动态行为。DPs

关键词: 设计模式, 形式规范, 混合规范模型

Abstract: The research on formal specification for design patterns (DPs) acts an important role in reuse of design patterns. This paper proposes a hybrid specification model for DPs based on the three-model specification. This model depicts the static structure of DPs using diagrams, and it describes the semantics of participants' actions on DP dynamic behaviors through binding diagrams and temporal logic method. With doing so, the model avoids the ambiguity when using natural language as supplement on diagram specification, and it describes static structures and dynamic behaviors of DPs in a precise and complete way. ;;

中图分类号: