摘要
讨论了 COOZ( complete object- oriented Z)中的继承关系 ,将继承分为增量继承和子类型化继承 ,并重点讨论了子类型化继承 .定义了一种行为子类型化继承 ,证明了该方法的合理性 ,并据此定义了 COOZ的规约继承及规约继承的推理规则 .所讨论的子类型化方法与 E.Cusack等人的方法相比 ,具有可构造性 ,并且比L
The inheritance relation of COOZ is discussed. It is divided into increasing inheritance and subtyping inheritance. The latter is studied and a behavioral subtyping inheritance is defined, by which the specification inheritance and its inference rules are defined. The soundness of the method is proved. The offered method is constructive compared with that of E. Cusack and is more flexible than that of Liskov et al.
出处
《软件学报》
EI
CSCD
北大核心
2000年第4期481-487,共7页
Journal of Software
基金
国家自然科学基金!(No.69673006 )
国家"九五"科技攻关项目基金!(No.98-780-01-07-06)资助
关键词
面向对象
继承
子类型
软件开发方法
推理规则
Formal method, object oriented, inheritance, subtyping, formal specification.