-
softcomputingtechniques
regarding simfile for soft computing techniques
- 2010-01-02 21:48:29下载
- 积分:1
-
6_1
1. 定义一个抽象学生类CStudent,它具有公有成员函数Average(),该函数用于计算学生的平均分,函数为虚函数;定义一个文科学生类CStudentLiberalArts,它是类CStudent的派生类,并以公有方式派生,它具有的成员有:
1) 保存英语、政治、数学、地理和历史、美术成绩的整形成员变量;
2) 设置上述变量的公有成员函数;
3) 输出上述变量的公有成员函数;
4) 公有的成员函数Average()用于计算学生的平均分;
定义一个理科学生类CStudentScience,它是类CStudent的派生类,并以公有方式派生,它具有的成员为:
1) 保存英语、物理、数学、化学和计算机、程序设计成绩的整形成员变量;
2) 设置上述变量的公有成员函数;
3) 输出上述变量的公有成员函数;
4) 公有的成员函数Average()用于计算学生的平均分;
编写主函数,并测试以下内容:
1) 定义一个CStudent的指针数组pStu,数组长度为4;
2) 动态创建2个文科学生的对象,地址存于pStu数组的0-1个元素内;
3) 动态创建2个理科学生的对象,地址存于pStu数组的2-3个元素内;
4) 利用while循环调用数组里每个元素的计算平均成绩操作;
释放动态分配的空间,确保必要的析构函数能被调用。
(1 define an abstract class student CStudent, it has a public member function Average (), this function is used to calculate the student s average points function as virtual function definition of a liberal arts student class CStudentLiberalArts, it is the class CStudent derived class, and public be derived, which has members are:
1) Save English, shaping member variables politics, mathematics, geography and history, art achievements
2) Set the above variables public member function
3) public member function of the output of the variable
4) public member function Average () is used to calculate the average student s points
The definition of a science student class CStudentScience, it is the class CStudent derived class, and public manner derived, which has members as follows:
1) Save English, physics, mathematics, chemistry and computer programming achievement shaping member variables
2) Set the above variables public member function
3) public member function of t)
- 2014-10-20 15:29:16下载
- 积分:1
-
SAR
基础的的SAR成像源代码!能够实现运行,供学习参考(this is the code of sar ,it is very good!)
- 2013-03-15 21:57:27下载
- 积分:1
-
analysis-of-time-series
在时间序列分析中自动完成数据的导入、分析与导出(In time series analysis is done automatically import data, analysis and export)
- 2013-05-22 08:52:52下载
- 积分:1
-
matlabFUDAO
MATLAB是很常用的软件,本文件
相当于介绍该软件的入门电子书,
可以让初学者快速学会使用该软件。(err)
- 2008-06-17 19:30:39下载
- 积分:1
-
JM96A
说明: 捕鱼策略:在实现可持续收获的前提下,追求最大产量或最佳效益。(Fishing strategy: to achieve sustainable harvesting under the premise of achieving maximum production or the best value.)
- 2010-03-26 16:38:47下载
- 积分:1
-
Taylor_Algorithm
泰勒级数展开算法是需要初始估计位置的递归算法,在每一次的递归中通过求解TDOA测量误差的局部最小二乘来改进估计的位置。 本程序基于MATLAB,对泰勒级数展开算法进行了仿真。初始位置的选取很重要,建议和其他简单的算法进行协同,对信号源位置进行定位。 希望对研究信号源定位的同志有所帮助。(Taylor series expansion algorithm is the need to estimate the location of the initial recursive algorithm, in every recursive TDOA measurement error by solving the partial least squares to improve the position estimate. The program is based on MATLAB, the Taylor series expansion algorithm for the simulation. The selection of the initial position is very important, the proposed algorithm and other simple coordination, to locate the signal source location. Want to locate the source of research help comrades.)
- 2020-12-13 14:39:15下载
- 积分:1
-
乘子法的Matlab实现 multphr
乘子法的Matlab实现,利用程序求解约束化问题(Multiplier method of Matlab implementation of problem solving constrained by procedures)
- 2021-04-19 14:18:51下载
- 积分:1
-
auto1
AUTOMATIC SPEAKER RECOGNIZATION AND IDENTIFICATION USING GMM.HERE READ SIGNALS FROM EAR PHONES
- 2012-10-05 20:16:26下载
- 积分:1
-
SAR
SAR signal processing
- 2013-10-31 08:11:59下载
- 积分:1