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

图文法EGG在设计模式中的应用
引用本文:韩秀清,曾晓勤,邹阳.图文法EGG在设计模式中的应用[J].计算机工程与科学,2010,32(3):104-110.
作者姓名:韩秀清  曾晓勤  邹阳
作者单位:河海大学计算机及信息工程学院,江苏,南京,210098
基金项目:国家自然科学基金资助项目(60673186)
摘    要:对图变换和可视化语言的研究激发并促进了图文法的研究和发展。作为一维字符文法的扩展,图文法可以形式化描述二维空间中的对象,如图像、图形和表格等,为它们的定义、生成、变换及分析提供理论和技术上的支持。设计模式是可复用面向对象软件的基础,通常以二维图的形式来表示。为了与用户多样化的需求相适应,设计模式经常需要在不改变系统基本结构的情况下进行演化。本文讨论了图文法EGG及其形式化方法在设计模式的演化中的应用,聚焦在图变换和图解析两方面。前者用EGG格式的产生式作为图重写式来指导图的每一次变换,以确保相应设计模式演化每一步的正确性;后者用EGG文法机制来对图进行归约,以检查随意演化后的设计模式是否合法。

关 键 词:可视化语言  图文法  图变换  图重写  EGG  设计模式
收稿时间:2008-11-22
修稿时间:2009-02-03

Application of Graph Grammar EGG in Design Patterns
HAN Xiu-qing,ZENG Xiao-qin,ZOU Yang.Application of Graph Grammar EGG in Design Patterns[J].Computer Engineering & Science,2010,32(3):104-110.
Authors:HAN Xiu-qing  ZENG Xiao-qin  ZOU Yang
Affiliation:School of Computer and Information Engineering/a>;Hohai University/a>;Nanjing 210098/a>;China
Abstract:Researches on graph transformation and visual language motivate and promote the research and development of graph grammars.As the extension of one dimensional string grammars,graph grammars can be used to formally describe objects in a two dimensional apace,such as images,graphs,and tables etc.,and supply theoretical and technical supports for their definition,generation,transformation,and parsing.The design pattern,with an appearance of a two dimensional graph,is the basis of reusable object-oriented softw...
Keywords:visual language  graph grammar  graph transformation  graph rewriting  EGG  design pattern  
本文献已被 CNKI 万方数据 等数据库收录!
点击此处可从《计算机工程与科学》浏览原始摘要信息
点击此处可从《计算机工程与科学》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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