首页 | 本学科首页   官方微博 | 高级检索  
     

基于角色的设计模式形式建模及演化
引用本文:孙军梅,缪淮扣.基于角色的设计模式形式建模及演化[J].计算机科学,2009,36(8):177-181.
作者姓名:孙军梅  缪淮扣
作者单位:1. 杭州师范大学信息科学与工程学院,杭州,310036
2. 上海大学计算机工程与科学学院,上海,200072
基金项目:国家自然科学基金项目,上海市重点学科建设项目 
摘    要:重用设计在改善软件开发过程中的作用越来越受到人们的重视.面向对象的软件设计模式概念的提出为软件设计的重用打开了新的局面.但在设计模式的具体应用中存在实现、文档和组合的问题.给出了一种基于角色的设计模式形式建模方法,将类、类属性、类之间的关系等都看作角色,并用形式建模语言Object-Z形式表示这些角色,可有效地解决设计模式实例化时存在的问题.基于角色的设计模式形式模型在演化时也基于角色进行演化,将模式的演化分为角色层演化和模式层演化,模式层演化是由多个角色层演化组成的.演化后的模型可以通过定理证明器验证与前模型是否保持一致.

关 键 词:设计模式  角色  演化  验证
收稿时间:2008/9/18 0:00:00
修稿时间:2008/11/26 0:00:00

Formal Modeling and Evolution of Design Pattern Based on Role
SUN Jun-mei,MIAO Huai-kou.Formal Modeling and Evolution of Design Pattern Based on Role[J].Computer Science,2009,36(8):177-181.
Authors:SUN Jun-mei  MIAO Huai-kou
Affiliation:School of Information Science and Engineering;Hangzhou Normal University;Hangzhou 310036;China;School of Computer Engineering and Science;Shanghai University;Shanghai 200072;China
Abstract:Design reuse becomes important in improving software development process.The concept of object oriented design pattern opens the situation for software design reuse.There are barriers when instantiating the design patterns,such as implementation,documentation,composition.This paper presented a formal modeling approach based on role.Class,attribute of class,the relation between class all are treated as roles and all roles are modeled with Object-Z.This effectively resolves the barriers when instantiating the...
Keywords:Object-Z
本文献已被 CNKI 万方数据 等数据库收录!
点击此处可从《计算机科学》浏览原始摘要信息
点击此处可从《计算机科学》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号