本文已被:浏览 2108次 下载 2738次
Received:August 23, 2010 Revised:August 23, 2010
Received:August 23, 2010 Revised:August 23, 2010
中文摘要: 通过计算机自动实现对程序的理解是目前国内外研究的热点内容。以面向对象程序为研究对象,提出了一种从面向对象程序中抽取类信息的规则,利用该规则可以将程序中的类以及其它程序信息抽取出来,并以UML 类图形式表示出来,进而为计算机自动实现对程序的理解奠定基础。在本文中描述了产生UML 类图中的各类规则,包括了类、属性、操作、对象、关系、继承、关联和接口等。最后介绍了该规则的一个应用实例。
Abstract:In domestic and foreign research, using the computer to understand the program automatically is the focus. This paper, object-oriented program for the research, proposes object-oriented programming classes of information extraction rules. This method can extract the type of information from the program, then, represents these information by class diagrams, thus lays the bais for the computer to understand the program automatically. In this paper, we specify the rules for generating UML class diagrams, which include classes, attributes, operations, objects, relationships, inheritance, associations interfaces and so on. Finally, we introduce an application of the algorithm instance.
文章编号: 中图分类号: 文献标志码:
基金项目:浙江省基金(Y1080189)
引用文本:
黄捷,古辉.面向对象程序的类信息的抽取规则.计算机系统应用,2011,20(5):51-54,149
HUANG Jie,GU Hui.Object-Oriented Programming Classes of Information Extraction Rules.COMPUTER SYSTEMS APPLICATIONS,2011,20(5):51-54,149
黄捷,古辉.面向对象程序的类信息的抽取规则.计算机系统应用,2011,20(5):51-54,149
HUANG Jie,GU Hui.Object-Oriented Programming Classes of Information Extraction Rules.COMPUTER SYSTEMS APPLICATIONS,2011,20(5):51-54,149