期刊文献+

图文法EGG在设计模式中的应用 被引量:1

Application of Graph Grammar EGG in Design Patterns
在线阅读 下载PDF
导出
摘要 对图变换和可视化语言的研究激发并促进了图文法的研究和发展。作为一维字符文法的扩展,图文法可以形式化描述二维空间中的对象,如图像、图形和表格等,为它们的定义、生成、变换及分析提供理论和技术上的支持。设计模式是可复用面向对象软件的基础,通常以二维图的形式来表示。为了与用户多样化的需求相适应,设计模式经常需要在不改变系统基本结构的情况下进行演化。本文讨论了图文法EGG及其形式化方法在设计模式的演化中的应用,聚焦在图变换和图解析两方面。前者用EGG格式的产生式作为图重写式来指导图的每一次变换,以确保相应设计模式演化每一步的正确性;后者用EGG文法机制来对图进行归约,以检查随意演化后的设计模式是否合法。 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 software. In order to suit to the various requirements of users, a design pattern usually needs to evolve under the condition of unchanging some basic structure criterions. It is discussed in this paper the application of graph grammar EGG and its formalism to the evolution of design patterns. The discussions are mainly focused on two aspects of graph transformation and graph parsing. The former is to make use of the EGG productions as graph rewriting rules to guide every graph transformation for guaranteeing the validity of corresponding the design pattern' s evolution in each step; and the latter is to make use of the grammar mechanism of the EGG to parse the given graphs for checking the validity of any freely evolved design patterns.
出处 《计算机工程与科学》 CSCD 北大核心 2010年第3期104-110,共7页 Computer Engineering & Science
基金 国家自然科学基金资助项目(60673186)
关键词 可视化语言 图文法 图变换 图重写 EGG 设计模式 visual language graph grammar graph transformation graph rewriting EGG design pattern
作者简介 韩秀清(1981-),男,山东泰安人,硕士生,研究方向为图文法及其应用; 曾晓勤,教授,博士生导师,研究方向为人工神经网络和图文法;通讯地址:210098江苏省南京市西康路1号河海大学计算机及信息工程学院;Tel:13770706902;E-mail:xzeng@hhu.edu.cn 邹阳,讲师,研究方向为图文法、非单调推理和逻辑程序。
  • 相关文献

参考文献16

  • 1Pfaltz J, Rosenfeld D. Web Grammars[C]//Proc of the 1st Int'l Joint Conference on Artificial Intelligence, 1969.
  • 2Rozenberg G. Handbook of Graph Grammars and Computing by Graph Transformation[M]. Volume 1. Singapore: World Scientific Publishing, 1997.
  • 3Ehrig H, Engels G, Kreowski H J, et al. Handbook of Graph Grammars and Computing by Graph Transformation: Applications, Languages and Tools[M]. Volume 2. Singapore: World Scientific Publishing, 1999.
  • 4Ehrig H, Kreowski H-J, Montanari U, et al. Handbook of Graph Grammars and Computing by Graph Transformations: Concurrency, Parallelism, and Distribution[M]. Volume 3. Singapore: World Scientific Publishing, 1999.
  • 5徐建礼,周龙骧.基于图文法的并发系统状态测试方法及其实现[J].软件学报,1996,7(10):587-605. 被引量:6
  • 6花全香,邢汉承,冯纯伯.数据流分析的图文法途径[J].小型微型计算机系统,1997,18(7):42-48. 被引量:6
  • 7石兵,冉平,马晓星,陶先平,吕建.软件体系结构的属性图文法描述及其约束验证[J].计算机应用研究,2007,24(3):163-168. 被引量:7
  • 8Taentzer G, Carughi G T. A Graph-Based Approach to Transform XML Doeuments C]//Proc of the FASE' 06, 2006 : 48- 62.
  • 9Zhang K, Zhang D, Cao J. Design, Construction, and Application of A Generic Visual language Generation Environment[J]. IEEE Trans on Software Engineering, 2001,27: 289-307.
  • 10Amaral V, Helmer S, Moerkotte G. Formally Specifying the Syntax and Semantics of a Visual Query Language for the Domain of High Energy Physics Data Analysis[C]// Proc of 2005 IEEE Syrup on Visual Languages and Human- Centrie Computing, 2005 : 251-258.

二级参考文献29

共引文献15

同被引文献13

引证文献1

二级引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部