期刊文献+

EGG图文法语法分析算法的研究 被引量:1

Research on Parsing Algorithm of EGG Graph Grammar
在线阅读 下载PDF
导出
摘要 EGG是一种基于边的上下文相关图文法形式化框架,其语法分析(归约操作)算法是该文法重要的组成部分。在简要介绍EGG的基础上,给出了EGG语法分析算法的设计,其中包括子图匹配算法、子图替换算法和算法计算复杂性的分析。为了展示如何用EGG来定义图语言,特别是如何用所设计的归约算法来分析图,文中以程序流程图为例,给出了相关的EGG形式定义以及对一个具体流程图的归约过程,并探讨了可能降低分析算法复杂性的一些途径。 EGG is an edge-based context-sensitive graph grammar formalism,in which the parsing(reduction operation) algorithm is a very important part.On the basis of a brief introduction of EGG,this paper presented the design of a parsing algorithm,which includes subgraph matching algorithm,subgraph substitution algorithm,and their computational complexity analyses.In order to show how to apply EGG to define graph languages and especially parse graphs with the designed algorithms,the paper taking program flow diagram as an example,presented its formal definition of productions and its parsing procedures for a given flow diagram.As the future research directions,the possible ways to reduce the complexity of the algorithms were also discussed.
出处 《计算机科学》 CSCD 北大核心 2012年第10期272-277,293,共7页 Computer Science
基金 国家自然基金(61170089)资助
关键词 图文法 语法分析 子图匹配 子图替换 推导 归约 Graph grammar Parsing Subgraph matching Subgraph substitution Derivation Reduction
  • 相关文献

参考文献12

  • 1许红霞,张莉.可视化语言文法形式化描述综述[J].计算机科学,2005,32(4):201-204. 被引量:7
  • 2Pfaltz J. Web Grammars and Picture Description[J]. Computer Graphics and Image Processing, 1972,1 (2) : 193-220.
  • 3Bunke H. Attributed Programmed Graph Grammars and Their Application to Schematic Diagram Interpretation[J]. IEEE Pat- tern Analysis and Machine Intelligence, 1982,4(6) : 574-582.
  • 4王莉,钟春香.基于规则的网状结构目标识别研究[J].华中理工大学学报,1996,24(2):15-18. 被引量:1
  • 5Fahmy H, Blostein D. A Graph-Grammar Programming Style for Recognition of Music Notation[J]. Machine Vision and Ap- plications, 1993,6(2/3) : 83-88.
  • 6Grbavec A, Blostein D. Mathematics Recognition Using Graph Rewriting[C]//Third Int. Conf. on Document Analysis and Recognition. Montreal, Canada, Aug 1995 : 417-421.
  • 7SchiirrA B D. Visual Modeling and Programming with Graph Transformations[C]// Tutorial at 14th IEEE Syrup on Visual Languages. Halifax,NS,Canada, 1998.
  • 8Rekers J, Schurr A. Defining and Parsing Visual Languages with Layered Graph Grammars[J].Journal of Visual Languages and Computing, 1997,8(1) : 27-55.
  • 9Zhang Da-qian, Zhang Kang, Cao Jian-nong, et al. A Context_ sensitive Graph Grammar Formalism for the Specification of Visual Languages[J]. The Computer Journal, 2001,44 ( 3 ) : 187- 200.
  • 10Kong Jun, Zhang Kang. On a Spatial Graph Grammar Formalism [C]//Proc of the 2004 IEEE Symposium on Visual Languages and Human Centric Computing. IEEE, 2004:102-104.

二级参考文献24

  • 1强军,王兵山,李舟军.可视语言:把思想变成程序的工具[J].计算机科学,1994,21(4):6-10. 被引量:2
  • 2徐建礼,周龙骧.基于图文法的并发系统状态测试方法及其实现[J].软件学报,1996,7(10):587-605. 被引量:6
  • 3石兵,冉平,马晓星,陶先平,吕建.软件体系结构的属性图文法描述及其约束验证[J].计算机应用研究,2007,24(3):163-168. 被引量:7
  • 4Lin H J,International Journal of Pattern Recognition and Artificial Intellignce,1989年,3期,377页
  • 5Shi Q Y,IEEE Trans Patten Analysis Ach Intel,1983年,5卷,5期,472页
  • 6Rekers J,Schurr A. A graph grammar approach to graphical parsing. In: IEEE Symposium on Visual Languages. IEEE Press, 1995.195~202
  • 7Zhang D-Q, Zhang K. Reserved graph grammar: a specification tool for diagrammatic VPLs. In:Proc. 1997 IEEE Symp. on visual languages. Capri,Italy: IEEE Press, 1997. 284~291
  • 8Golin E J, Reiss S P. The specification of visual language syntax. IEEE symposium on visual languages. IEEE Computer Society Press ,1989. 105~ 110
  • 9Marriott K. Constraint multiset grammars. IEEE symposium on visual languages. IEEE Press,1994. 118~125
  • 10Wittenburg K. Relational Grammars: Theory and Practice in a Visual Language Interface for Process Modeling. In:96 International Workshop on Theory of Visual Languages. Gubbio, Italy:IEEE Press, 1996

共引文献13

同被引文献13

引证文献1

二级引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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