首页 | 本学科首页   官方微博 | 高级检索  
相似文献
 共查询到20条相似文献,搜索用时 156 毫秒
1.
本文引入面向对象机制为流化催化裂化(FCC)动态系统仿真问题求解建立了一个抽象通用的类层次,并应用TurboC++面向对象程序设计语言开发了FCC动态系统仿真程序。仿真模型采用9阶状态空间模型,仿真算法选择4阶Runge-Kutta方法,仿真曲线使用Borland图形接口(BGI)工具显示。仿真结果是令人满意的。作者认为,由于用面向对象程序设计语言编制的程序具有易阅读、易维修、易扩充和通用性强等优点,故用面向对象程序设计语言代替传统的过程式语言开发实际工业生产过程仿真软件,将使软件开发者和最终用户都受益非浅,它必将成为一种新的趋势。  相似文献   

2.
适合于科学计算的脚本语言Python   总被引:2,自引:0,他引:2  
Python是面向对象的脚本语言,它有高级的数据类型和简单但却有效的面向对象的程序设计方法,其精炼的语法,动态类型及其自动的解释器,使它适合于大部分平台上编写脚本和快速开发应用程序。Python语言结合C语言编写的Numpy(数值扩展程序模式)或与系统语言C/C++,Fortran结合用于开发科学计算软件。  相似文献   

3.
用UML建模开发嵌入式软件   总被引:4,自引:0,他引:4  
针对面向对象开发与C语言的优缺点,提出一种新的方案,用面向对象的思想与开发工具进行软件的设计,用C语言进行编码,给出新方案应用实例,并在此基础上提出几种进一步优化程序性能的方法。新的方案增强了用C语言开发系统软件的可理解性、可移植性和稳定性,同时又保持了C语言高性能与低二进制代码长度的优点。  相似文献   

4.
近年来,模拟人脑智能的神经网络研究方兴未艾,为了使研究人有对神经网络模型与算法进行深入研究,本文用面向对象的程序设计语言Visual C 设计了一个仿真系统,给研究人员提供了良好的研究环境。  相似文献   

5.
本文完成了流化催化裂化(FluidizedCatalyticCracking,简称FCC)动态系统结构描述、模型构造和仿真分析这三部分工作。作者首次将面向对象程序设计方法中的面向对象机制应用于FCC动态系统仿真问题中,并为之建立了一个抽象通用的类层次。使用当今最为流行的TurboC++面向对象语言开发了FCC动态系统仿真程序。该程序设计过程直观清晰、层次分明,具有易阅读、易维护、易扩充和通用性强的特点。仿真分析结果表明本文作者在FCC动态系统仿真程序开发过程中引入面向对象机制是有效、成功的。文章前一部分给出FCC动态系统的结构描述和数学模型;文章后一部分应用面向对象方法求解FCC动态系统仿真问题并给出仿真实例。  相似文献   

6.
着眼于《面向对象程序设计(C++)》的教学设计,使教学重点由语法规范的学习转变为面向对象基本方法和思维方式的培养,引导学生摆脱面向过程语言的思想束缚,领会面向对象程序设计语言的精髓,为编写面向对象程序提供理论指导,为开发优质软件打下一个良好基础。  相似文献   

7.
面向对象有限元程序的研究   总被引:2,自引:0,他引:2  
阐述了采用面向对象的方法和VC++语言,进行结构问题有限元程序开发的过程。建立了一般线弹性体结构有限元分析类库,并与过程化语言的程序设计方法进行了分析比较,说明面向对象方法改善了有限元程序的维护性和扩充性,为开发工程计算程序提供了一种新途径。  相似文献   

8.
PostScript语言是一种新兴的程序设计语言,它具有一般程序设计语言的特点,又有很强的图形描述功能,目前已广泛应用于电子印刷等领域。NeWS窗口系统PostScript语言进行了输入和面向对象的扩充,形成面向对象的PostScript语言,本文对面向对象的PostScript语言进行介绍,着重讨论面向对象的程序设计方法。  相似文献   

9.
面向对象设计模式的C语言实现   总被引:3,自引:0,他引:3  
朱进 《微机发展》2005,15(11):99-101,105
介绍了C语言成为嵌入式技术领域主要的程序设计语言的原因,及当前用C语言所编写的程序仍然存在的问题,然后介绍了面向对象的设计模式的概念及优点.并提出将面向对象的思想与C语言结合起来,接着用C语言实现了部分面向对象的设计模式,给出了其代码,并做了相应的注释,为优化C程序的结构提供了途径.最后总结了在C程序中使用这些设计模式的价值.文中所指的C语言均为标准C(ANSIC).  相似文献   

10.
主动面向对象系统中编译子系统的设计与实现   总被引:1,自引:2,他引:1  
面向对象技术的程序设计与主动机制技术的相互结合,为主动程序设计语言的研究与开发创造了条件.提出了在一个源语言系统和一个面向对象语言的对象模型基础上的主动机制模型.研究了该模型的编译子系统,分别从支持面向对象和主动机制技术的角度,分析了子系统的组成、工作流程和典型算法.结合一个主动对象实例,对中间代码的生成过程进行了说明.  相似文献   

11.
UML在高校财务绩效管理系统设计中的应用   总被引:1,自引:0,他引:1  
统一建模语言UML(Unified Modeling Language)是面向对象软件开发方法的重要技术.在对UML进行了简要的介绍和概括后,结合财务绩效管理模型实例,对UML的技术进行了研究.在对系统进行需求分析的基础上,采用建模工具构建了系统的用户需求模型、对象结构模型和行为模型,对面向对象软件项目的开发具有一定的指导作用.  相似文献   

12.
随着嵌入式技术及游戏软件的发展,手机游戏业也进入了一个新的移动游戏时代。好多大学设置了嵌入式游戏设计课程,五子棋游戏设计是在嵌入式系统环境下,使用标准C语言编程实现五子棋游戏。游戏中包含双人对战下棋功能、人机对战下棋功能、存盘读取记录功能、悔棋功能、记录下棋步数功能、判断胜负功能等。对培养适应社会需求的嵌入式技术人才有着重要意义。  相似文献   

13.
简述了利用UML建模语言实现面向对象的嵌入式人机接口设计,并提出了一种新的嵌入式软件设计方法,用面向对象的思想和工具进行软件的分析与建模,再用面向对象的C语言进行软件编码。新的方法实现了嵌入式系统软件开发的可移植性、可理解性和稳定性,并提高软件开发的效率,在多款智能仪表的软件开发上得到了良好应用。  相似文献   

14.
飞行棋是典型的战旗类游戏(SLG),其开发主要包括游戏界面的设计、游戏规则的设计;经过分析,笔者使用SUN公司的JAVA语言,利用JAVA语言提供的各种面向对象的开发工具,在短时间内建立游戏原型,然后,对初始原型进行需求迭代,不断修正和改进,直到形成用户满意的可行系统。  相似文献   

15.
使用统一建模语言(UML)对嵌入式实时操作系统C/OS-II做静态建模和动态建模,进而利用UML的可视化模型来描述和分析C/OS-II的系统结构和工作机理。通过UML静态建模,为基于C/OS-II的嵌入式系统设计,提供了一个运用面向对象技术的框架;通过UML动态建模,详细分析了嵌入式实时操作系统(ERTOS)的关键方面,包括实时内核的调度机理、优先级反转问题及其解决办法等。  相似文献   

16.
针对目前嵌入式软件开发工具的不足,提出利用面向对象的技术设计嵌入式软件IDE,使设计人员利用可重用的组件模块,搭建符合硬件要求的操作系统和软件系统,同时自动初始化编程嵌入式微处理器内部各种资源的使用,大大提高开发效率和软件质量。  相似文献   

17.
A visual servo control system with SOPC structure is implemented on a retrofitted Mitsubishi Movemaster RV-M2 robotic system. The hardware circuit has the functions of quadrature encoder decoding, limit switch detecting, pulse width modulation (PWM) generating and CMOS image signal capturing. The software embedded in Nios II micro processor has the functions of using UART to communicate with PC, robotic inverse kinematics calculation, robotic motion control schemes, digital image processing and gobang game AI algorithms. The digital hardware circuits are designed by using Verilog language, and programs in Nios II micro processor are coded with C language. An Altera Statrix II EP2S60F672C5Es FPGA chip is adopted as the main CPU of the development board. A CMOS color image sensor with 356 ×292 pixels resolution is selected to catch the environment time-varying change for robotic vision-based servo control. The system performance is evaluated by experimental tests. A gobang game is planned to reveal the visual servo robotic motion control objective in non-autonomous environment. Here, a model-free intelligent self-organizing fuzzy control strategy is employed to design the robotic joint controller. A vision based trajectory planning algorithm is designed to calculate the desired angular positions or trajectory on-line of each robotic joint. The experimental results show that this visual servo control robot has reliable control actions.  相似文献   

18.
以提高自动售货机生产测试效率和信息化管理水平为目的,设计一套以ARM7为硬件平台,采用开源eCos操作系统和GoAhead嵌入式Web服务器的自动测试系统.系统具有CAN总线的可靠实时性和以太网的远程数据信息管理能力,为减轻服务器负担而采用嵌入式JavaScript技术实现本地端数据验证,面向对象C语言技术提高了固件的...  相似文献   

19.
TGMS (tiered geometric modelling system) is an experimental system intended to reduce the difficulty and cost of developing new solid modelling applications while preserving investment in an existing, time-tested, solid modeller. The application developer writes programs in the TGMS language, which consists of a base language augmented by data types (classes) for geometry. The base programming language is AML/X, an object-oriented language intended for use in design and manufacturing applications. Solid modelling is done using an interface to GDP (geometric design processor), an existing, production-quality solid modelling system. TGMS shows how a system written in a non-object-oriented language can be used as a base for an object-oriented application programming environment. This paper presents the design of TGMS and discusses important aspects of its implementation. The TGMS language defines classes and methods that provide an interface to functions and data represented in a non-object-oriented language. To implement TGMS, issues related to communication, storage management and consistency were addressed. These, and other, implementation issues are discussed. The paper includes sample programs and a summary of feedback from TGMS users. It concludes that the use of object-oriented programming for geometry has many benefits, and that an object-oriented system can be built on top of a non-object-oriented system at less cost than building the equivalent object-oriented system from scratch.  相似文献   

20.
The paper investigates the applicability of the object-oriented technique to large and complex systems as exemplified by the operating system BS2000 which has been under constant development for a number of years. The proposed system architecture ensures the harmonious coexistence of procedural and object-oriented parts of the system. New domains, which are implemented using the object-oriented paradigm, can be smoothly embedded in the existing system. The parallel usage of different implementation languages is rendered economically viable. In our framework some representative parts of the system were redesigned and implemented in a prototype. The extensibility of the design was checked by including further parts into this scheme. The results are encouraging, so that the object-oriented technique will be used in the further development process. The proposed technique can also be applied to systems with a different structure, even a monolithic one  相似文献   

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

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