首页 | 本学科首页   官方微博 | 高级检索  
相似文献
 共查询到18条相似文献,搜索用时 109 毫秒
1.
本文介绍了一种基于形式化规格说明语言COOZ的面向对象设计方法并给出实例。  相似文献   

2.
本文介绍了一种基于形式化规格说明语言COOZ的面向对象设计方法并给出实例。该方法用COOZ描述类的设计规格说明,实现了从形式化需求描述到形式化设计的平滑过渡。文中重点讨论了与设计方法有关的一些面向对象概念:对象类型和类的分开、子类型和继承的分开、灵活的消息传递和参数转换机制、主动对象和被动对象、根类的定义等。  相似文献   

3.
COOZ中的时段演算   总被引:1,自引:0,他引:1  
袁晓东  陈家骏 《软件学报》1997,8(A00):333-333
本文在COOZ中引入了连续时间的概念,建立了用连续时间表示的对象时钟引入时段演算来表示对象的实时约束和历史约束,并给出了一个火警自动预报系统的实例描述。文中对实时状态型转化、可积极及孤立点、历史性约束的分类等问题作了进一步的探讨。  相似文献   

4.
OOZS语言是一种面向对象的形式规格说明语言,用于书写软件的形式规格说明。它是Z语言的一种扩展,用以支持面向对象的软件分析方法,提供了类封装机制、类继承机制、和出口机制,设置了Pre谓词和Post谓词,表达力强,简明精确。本文是该语言的试用文本介绍。  相似文献   

5.
基于COOZ对UML的类结构的形式化   总被引:3,自引:0,他引:3  
为面向对象的模型建立坚实的形式化基础是近年形式化研究的热点。一旦提供了对面向对象模型概念的精确描述后,就可以对OO模型的行为和结构进行清晰的分析。统一模型语言(UML)是为建立统一的面向对象开发方法的有益偿试,它是在已有的三大OO方法学的基础上抽象出来的模型语言。文章结合作者正在进行的对Z语言的OO扩展COOZ,对UML的类层次结构进行精确的形式化描述。  相似文献   

6.
倪彬  冯玉琳  黄涛 《软件学报》1996,7(12):752-759
SCOP是一个面向对象的组合框架软件,OOAnalysis是SCOP中支持系统分析的一个工具系统,本文介绍了OOAnalysis的设计和实现.该工具采用并行/递归式面向对象的分析方法,采用自底向上的系统构造和对象抽象与自顶向下的系统分解和对象精化相结合的方法建立对象模型,强调多层次抽象、并行工作和递归建模.这个工具有多层次、可视化和自动化的特点.  相似文献   

7.
为了有效地结合形式化和非形式化设计方法各自的优点,克服其不足之处,以尽可能保证软件设计的质量与可靠性,文章提出了一种将形式化方法与非形式化的面向对象设计方法HOOD(hierarchicalobject-orienteddesign)相结合的途径,并介绍了其机器支撑环境的设计与实现.该途径在对层次式面向对象设计方法HOOD进行必要扩充的基础上,有机地集成了Z语言等形式规约技术.支持这一途径的支撑环境提供了一套方便灵活的图形构筑工具、语法制导的形式语言与文本编辑工具,以及自动检查机制等.  相似文献   

8.
本文介绍了我们研制的微机多媒体数据库管理系统MObase的基本特点。Mobase是在我们研制的微机面向对象的数据库管理系统-Obase基础上扩展而成的。Obase支持面向对象的数据模型,用户界面就是一个C++的特殊的类--Obclase,提供了和C++的完全无缝连接,系统本身用面向对象的方法实现,易于扩充。MObase中又新增了二进制串LONG及图象帧PIC FRAME等原子类以存储声音,图象等多  相似文献   

9.
青鸟Ⅱ型系统面向对象语言CASEC++的设计和实现   总被引:2,自引:0,他引:2       下载免费PDF全文
CASEC++语言是面向对象的CASE环境青鸟Ⅱ型系统中设计、实现的一个与C++完全兼容并支持永久对象的面向对象程序设计语言.在青鸟Ⅱ型系统中,它是对象管理系统OMS(objectmanagementsystem)的操纵语言和所有集成工具的编程语言,同时也是支持最终用户的通用的编程语言.本文首先简要介绍了CASEC++的设计背景.然后,较详细地讨论了CASEC++中新引入的语言成份:永久对象;类定义的共享机制;永久对象间的关系描述──链和对象的内容等.最后,给出了实现方法.  相似文献   

10.
OO-HLL是一个ORACLE Pro*C应用生成器,它以面向对象和第四代语言面向问题的非过程方式定义用户需求,生成可嵌入SQL语句到C程序中的Pro*C程序,然后通过Pro*C预编译程序和Microsoft C编译器将其翻译为可执行的目标代码。本文介绍了OO-HLL的基本思想,给出了OO-HLL语言主要语法成分的形式定义,讨论了它的代码生成技术。  相似文献   

11.
Z的面向对象扩充COOZ的设计   总被引:11,自引:0,他引:11  
袁晓东  郑国梁 《软件学报》1997,8(9):694-700
为了使Z规格说明与面向对象开发方法相结合,本文在Z中扩充了对象类型和模块描述机制,使之成为面向对象的形式化规格说明语言COOZ(completeobject-orientedZ).内容包括COOZ的设计思想、语法定义及说明、形式化语义、实例以及与相关研究工作的比较.  相似文献   

12.
The advantage of COOZ(Complete Object-Oriented Z) is to specify large scale software,but it does not support refinement calculus.Thus its application is comfined for software development.Including refinement calculus into COOZ overcomes its disadvantage during design and implementation.The separation between the design and implementation for structure and notation is removed as well .Then the software can be developed smoothly in the same frame.The combination of COOZ and refinement calculus can build object-oriented frame,in which the specification in COOZ is refined stepwise to code by calculus.In this paper,the development model is established.which is based on COOZ and refinement calculus.Data refinement is harder to deal with in a refinement tool than ordinary algorithmic refinement,since data refinement usually has to be done on a large program component at once.As to the implementation technology of refinement calculus,the data refinement calculator is constructed and an approach for data refinement which is based on data refinement calculus and program window inference is offered.  相似文献   

13.
A Formal Semantics for DAI Language NUML   总被引:1,自引:0,他引:1       下载免费PDF全文
Traditional AI systems are brittle in the sense that they fail miserably when presented with problems even sliphtly outside of their limited range of expertise.A powerful,extensible strategy of Distributed Artificial Intelligence (DAI) for overcoming such bounds is to put the system in a society of systems.So the ability to coordinate group activities of individuals and to communicate between each other is necessary for a language describing DAI systems.Agent-oriented language NUML is such a language.It is a specific kind of object-oriented language.To give formal semantics to NUML,there is the problem to formalise object-oriented programming paradigm which is still open.The theory of higher-order π-calculus is a concurrent computation model with sufficient capability,which provides us a mathematical tool to do the formalization.This paper tries to use higher-order π-calculus to formalise NUML.  相似文献   

14.
Chords are a declarative synchronisation construct based on the Join-calculus, available in the programming language C-omega. To our knowledge, chords have no formal model in an object-oriented setting. In this paper we suggest SCHOOL, a formal model for an imperative, object-oriented language with chords. We give an operational semantics and type system, and can prove soundness of the type system.  相似文献   

15.
为UML建模元素提供坚实的形式化语义基础是目前的研究热点之一,在这方面也有了不少探索。文章在过去的研究的基础上,给出了UML模型到COOZ规约的一种系统的转化方法。将UML模型转换到COOZ规约后,UML模型的推理验证就可以通过相应COOZ规约的推理验证实现。该方法不但为UML提供了精确的形式化语义基础,而且,提供了一种UML模型推理的合理的机制。  相似文献   

16.
王云峰  庞军  查鸣  杨朝晖  郑国梁 《软件学报》2000,11(8):1041-1046
COOZ(complete object-oriented Z)的优势在于精确描述大型程序的规约.COOZ本身的结构 不支持精化演算,这限制了COOZ的应用能力,使COOZ难以作为完整的方法应用于软件的开发. 将精化演算引入COOZ,弥补了COOZ在设计和实现阶段的不足,同时也消除了规约与实现之间在 结构和表示方法上的完全分离,使程序开发在一个完整的框架下平滑进行.该文提出了基于CO OZ和精化演算的软件开发模型,通过实例讨论了数据精化和操作精化问题.在精化演算实现技 术方面构造了一种数据精化算子,提出一  相似文献   

17.
This paper presents a formal executable semantics of object-oriented models. We made it possible to conduct both simulation and theorem proving on the semantics by implementing it within the expressive intersection of the functional programming language ML and the theorem prover HOL. In this paper, we present the definition and implementation of the semantics. We also present a prototype verification tool ObjectLogic which supports simulation and theorem proving on the semantics. As a case study, we show the verification of a practical firewall system.  相似文献   

18.
In most object-oriented databases, as opposed to value-oriented databases, data are accessed by a programming language instead of a declarative query language. End users do not have a simple tool to perform their queries. This paper is concerned with the definition of an SQL-like query language on top of the O2 object-oriented database system. We study the influence of the object-oriented paradigm on a query language, describe our language through examples, define its semantics by means of an algebra and sketch the compilation of RELOOP in one of the languages supported by the O2 system.  相似文献   

设为首页 | 免责声明 | 关于勤云 | 加入收藏

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