检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:杨立[1]
机构地区:[1]中国科学技术大学计算机科学系,合肥230027
出 处:《计算机研究与发展》1993年第11期8-14,共7页Journal of Computer Research and Development
摘 要:本文将对象类型看做一种行为,而把子类型看做与这种行为相兼容的一种特化。基于这种想法,本文通过扩展有序代数(Order-Sorted Algebra)提出一种类型与子类型之间继承关系的代数模型,根据运算是否完全兼容将子类型划分为完全子类型与不完全子类型,并且解决了由于类型继承导致运算重叠而引起的二义性问题.By extending order-sorted algebra,this paper develops an algebraic model of subtype based on the idea that a type is a form of behavior and a subtype is a behaviorally compatible specialization of the behavior Subtypes are classified into complete and partial subtypes due to the preservation of complete or partial behavioral compatibility.The problem of ambiguity caused by overloading of functions is also solved.
分 类 号:TP311.13[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.200