引用本文:黄涛,钱军,周桓.对象演算Ⅰ.软件学报,1999,10(9):931-940
【打印本页】   【下载PDF全文】   查看/发表评论  【EndNote】   【RefMan】   【BibTex】
←前一篇|后一篇→ 过刊浏览    高级检索
本文已被:浏览 3920次   下载 279 本文二维码信息
码上扫一扫!
分享到: 微信 更多
对象演算Ⅰ
黄涛1,2, 钱军1,2, 周桓1,2
1.中国科学院软件研究所计算机科学开放研究实验室,北京,100080;2.中国科学院软件研究所对象技术中心,北京,100080
摘要:
对象演算是一个面向对象的逻辑演算系统,它建立在描述具有内部状态的动态演变实体的Trace演算之上.对象比一般意义下的动态实体具有更多和更好的特性,特别是封装性.为此,文章引入有效动作的概念,通过对象的有效动作来刻画对象的封装性,即只有对象的有效动作才能访问或修改对象的属性值,从而对Trace演算的语义模型加以限制,得到对象语义解释模型.作为逻辑系统,文章还讨论了对象演算的公理化,它是Trace演算公理系统的扩充.作为应用,文章结合实例给出了对象语义的描述及特性推理.
关键词:  对象演算,有效动作,公理化,对象语义描述,特性推理.
DOI:
分类号:
基金项目:本文研究得到国家自然科学基金和国家863高科技项目基金资助.
Object Calculus Ⅰ
HUANG Tao,QIAN Jun,ZHOU Huan
Abstract:
An object-based logic calculus is outlined in this paper, which is built on the trace calculus based on dynamic entities with local states. Compared with dynamic entities, objects have more good properties, such as encapsulation. To formalize the concept of encapsulation, a new concept of valid action is introduced. It is only through these valid actions declared by the very object that the state of the object can be accessed or modified. An axiomatization of the object calculus as an extension of the axiom system of the trace calculus is also contributed in this paper. Finally, the object semantics description and property deduction are shown.
Key words:  Object calculus, valid action, axiomatization, object semantics description, property deduction.