共查询到20条相似文献,搜索用时 31 毫秒
1.
面向对象编程中稀疏线性方程类构造研究 总被引:2,自引:0,他引:2
电力系统分析软件广泛使用面向对象的程序设计方法(OOP),采用C++语言按面向对象思想提出了一种稀疏线方程类的构造方法,该类提供了统一接口,可以方便地应用于电力系统分析计算的各个方面,而不必考虑其实现细节,并且易于修改、升级。为了有效地使用稀疏向量法,利用数级型链表来存储稀疏矩阵,用数组型序列链表来存储路径并集,这种存储结构具有节省内存、存取速度快的特点。实践证明,这样构造的类能取得良好的效果。 相似文献
2.
3.
4.
This paper reports on power system modelling and sparse matrix operations using object-oriented programming (OOP). It has been claimed that OOP leads to more flexible, modular and reusable code, and that programs can be written more generally. The main focus of the paper is OOP design principles and practical implementations for power systems. Specific examples included demonstration of a power system model design, particularly focusing on OOP mechanisms and object-oriented style of programming. Also demonstrated, using OOP, are tailor-made sparse matrix storage schemes and operations. Numerical tests indicate that the proposed design is efficient compared to standard numerical library routines, and that the particular OOP features that are used to obtain flexibility etc. do not significantly increase computation time 相似文献
5.
6.
7.
Object-oriented programming languages designed for introductory teaching simplify the often overcomplex features of conventional languages, but usually do so within software development environments that mimic their conventional counterparts. In such systems, semantic checking is performed after the editing process and within a conventional edit-compile-execute cycle. The initial object-oriented programming language (IOPL) provides incremental semantic checking via a structure editor that manipulates the persistent abstract syntax representation of an application and ensures that no syntax errors and no type errors occur during the editing process. 相似文献
8.
9.
用OOP方法实现电力变压器的优化设计 总被引:1,自引:0,他引:1
扼要介绍了面向对象的程序设计OOP(Object Orient Programming)的基本特征,分析了传统优化设计软件和利用OOP方法设计的软件之间的不同点,重点介绍了利用OOP方法设计的应用软件的数据结构、数据抽象、特点及效益。 相似文献
10.
11.
Woei-Kae Chen Yu Chin Cheng 《Education, IEEE Transactions on》2007,50(3):197-203
This paper reports the experiences in the design and execution of an object-oriented programming (OOP) laboratory course. In this course, the students are required to implement a small-to-medium scale interactive computer game in one semester, making use of a game framework. The students begin with a small number of the most tangible objects of an immediate concern. Then, as the semester unfolds and the game becomes increasingly sophisticated, OOP principles and design patterns are introduced as the means to cope with design complexity. The experience has indicated that framework-assisted, computer-game programming is a highly effective way to keep the learners engaged and facilitated in broadening and deepening their OOP skills. The ability to design nontrivial computer games that actually work has induced a consistently high level of sense of achievement among the students. 相似文献
12.
13.
14.
15.
16.
The new thing in the computer programming arena is object-oriented programming (OOP). OOP distinguishes itself from conventional programming in three important ways: encapsulation, inheritance and polymorphism. Encapsulation describes the organization of both code and data into powerful units called objects. This organization, a natural extension of a data-structure, creates an implicit relationship between object-code and object-data. Encapsulation describes the organization of objects into an object hierarchy. A child-object is said to inherit and specialize the behavior of one or more parent-objects. Polymorphism describes the ability of an object to react to a command with a reaction consistent with the object. There are many methods of effecting encapsulation, inheritance, and polymorphism. Several object-oriented programming languages (OOPLs) have been developed including Smalltalk, Turbo Pascal with Objects, and C++ (pronounced C plus plus). C++ is a popular OOPL among electrical engineers. This popularity is due in part to a strong similarity to ANSI-C. The similarity allows an engineer to first use C++ as a “better C” by learning encapsulation techniques. This first step, encapsulation using C++, is the topic of the present article. Using C++ as a “better C,” however, should not be the ultimate goal. The full power of C++ can only be realized by mastering all the underlying OOP mechanisms 相似文献
17.
本文介绍《城市电网运行智能决策系统》的图形平台,该平台为电力系统实时应用分析软件提供图形服务。它是在面向对象设计思想指导下利用VC 设计的,是图、模、库一体化的图形平台。它具有图形编辑环境、自动生成网络拓扑结构与拓扑数据、元件模型定义与编辑、提供运行环境、提供PCAD控件等功能。利用该平台建立的图形模型已应用于工程实际,并取得良好效果。 相似文献
18.
面向对象的干式电力变压器计算机辅助设计 总被引:1,自引:1,他引:0
介绍了一套自行开发的采用面向对象技术的干式电力变压器计算机辅助设计软件,详细说明了面向对象的设计方法在定义软件数据结构时的应用及优化设计的数学模型,阐述了系统的数据结构和体系结构。 相似文献
19.
基于面向对象编程的电力系统潮流计算软件 总被引:2,自引:0,他引:2
本文首先介绍了面向对象程序设计的基本特征、概念和方法,然后,从电力系统模型,稀疏矩阵处理,通用潮流类的构造等几个方面具体描述如何运用OOP方法民力系统应用软件设计。 相似文献
20.
简介了.NET框架和C#语言,与目前常用的界面开发平台及语言做了详细对比,指出其广阔的发展前景,并综述了在.NET平台下利用C#语言开发用户控制平台的优势。结合华中电网暂态稳定用户控制平台的开发经验,略述了应用.NET开发电网暂态稳定用户控制平台的优点,主要介绍了强大而方便的数据库操作功能、丰富灵活而且又简单的控件设计、完全的面向对象的语法适合于专家系统的开发、Webservice(C/S结构)的应用这4个方面。实践证明.NET框架和C#语言是界面设计者的极好选择。 相似文献