###
DOI:
计算机系统应用英文版:2011,20(5):51-54,149
本文二维码信息
码上扫一扫!
面向对象程序的类信息的抽取规则
(浙江工业大学 计算机科学与技术学院,杭州 310023)
Object-Oriented Programming Classes of Information Extraction Rules
(College of Computer Science & Technology, Zhejiang University of Technology, Hangzhou 310023, China)
摘要
图/表
参考文献
相似文献
本文已被:浏览 1811次   下载 2320
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