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

一个计算重复继承特征的有效算法
引用本文:杨桂桢.一个计算重复继承特征的有效算法[J].中山大学学报论丛,1996(6).
作者姓名:杨桂桢
作者单位:中山大学计算机科学系
摘    要:在面向对象式程序设计中,由于多继承机制的引入,类空间的结构(类之间的继承(关系)变得更加复杂.重复继承,重复基类是多继承机制中的重要特征.为了更好地理解重复继承关系,引入重复继承媒介集的概念,并讨论一个计算重复基类以及重复继承媒介集的有效算法.该算法可视为面向对象程序设计语言的编译器的一部分,同时也为了解类空间的语义信息提供了一个有效的工具.

关 键 词:类,多继承,重复继承,重复基类,媒介集,类空间

An Effective Algorithm for Computing Repeated Inheritance in the Multiple Inheritance Mechanism
Yang Guizhen.An Effective Algorithm for Computing Repeated Inheritance in the Multiple Inheritance Mechanism[J].Supplement to the Journal of Sun Yatsen University,1996(6).
Authors:Yang Guizhen
Institution:Yang GuizhenDepartment of Computer Science,Zhongshan University,Guangzhou 510275
Abstract:Due to the introduction of multiple inheritance mechanism into object oriented programming,the structure of the class space(the inheritance relationship among classes)becomes more complicated.Repeated inheritance and repeated base class are two important concepts in the multiple inheritance mechanism.To better understand the repeated inheritance relationship,this paper introduces the concept of Repeated Inheritance Media Set,and discusses an effective algorithm for calculating repeated base classes and repeated inheritance media sets.
Keywords:class  multiple inheritance  repeated inheritance  repeated base class  repeated inheritance media set  class space
本文献已被 CNKI 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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