搜索资源列表
定义抽象基类Shape
- 一个程序,定义抽象基类Shape,由它派生出3个派生类:Circle(圆形)、Rectangle(矩形)、Triangle(三角形),用一个函数printArea分别输出以上三者的面积,3个图形的数据在定义对象时给定。-A program that defines an abstract base class Shape, which it derived three derived classes: Circle (Circular), Rectangle (rectangle), Trian
weka-src.rar
- Weka,一个数据挖掘工具。功能包括:分类、聚类和关联规则等等。这是该开源软件的源代码,版本为3.5.7,Weka, a data mining tool. Features include: classification, clustering and association rules, etc.. This is the open source software source code, version 3.5.7
HOPBOY
- /***HOPBOY个人网站V3.1***/ /*网站程序结构*/ //开发语言:MXML/AS3 //开发运行环境:FLEX BUILDER3+APMServ //程序框架:CairngormMVC //后台通讯:AMFPHP /*网站基本功能*/ 完成前台新闻列表 完成前台文章列表 完成前台留言系统 完成后台新闻管理 完成后台文章管理 完成后台留言管理 /*架设方
Cmeansclusteringmethods
- 本算法在vc++6.0中进行实验。分别就分解聚类和C-均值聚类两种方法在IRIS数据集上进行操作。分类前先将数据集中的样本顺序打乱形成混合数据。分解聚类中,采用前100个样本用对分法编制程序将数据分为两类。C-均值聚类采用全部的150个样本,将类别参数K设为3,将数据分为三类。-The algorithm in vc++6.0 in the experiment. Separate cluster and decomposition of two C-means clustering metho
youyuan
- 设计一个直线类Line,其中包含3个数据成员,用于描述直线方程的3个系数,并声明一个友元函数,用于计算两条直线的交点,和显示函数,编程测试。 提示:两条直线:a1x+b1y+c1=0和a2x+b2y+c2=0的交点坐标为: (b1c2-b2c1)/(a1b2-a2b1),(c1a2-c2a1)/(a1b2-a2b1) 为显示交点,还要设计一个描述点的类。 -you yuan han shu yu youyuan lei
cecilia3_2
- 一个控制台程序,要求构建一个BOX盒子类,该类含有3个数据成员,分别表示盒子的3条边长;含有一个成员函数,用来计算盒子的体积并输出。演示输出。-A console program, to build a BOX box class, the class contains three data members, respectively of the box side length of 3 contains a member function, and used to calculate th
3
- 利用list模板建立存储学生信息的链表,存储输入的若干学生信息,并将链表内容存储到指定文件 要求: 1、自定义学生信息类 成员包括:学号、姓名、专业、班级; 成员函数包括:为成员赋值的有参构造函数,信息的输出函数,释放成员空间的析构函数 2、输入学生信息学号为0时终止输入,并将输入内容显示出来 3、利用迭代器访问链表,将数据存储到文件,文件名为“student_info.txt” 4、建议以输出对象作为信息输出函数的参数,根据参数对象的不同输出信息到显示器或文件
3-1
- 设计父亲类CFather、母亲类CMother和子女类CChild,其主要数据是姓、名、年龄与民族,子女继承父亲的姓、母亲的民族,最后输出子女及其父母的姓名、年龄和民族信息。-The design father class CFather, mother the class CMother and children' s classes CChild its main data is first name, last name, age and ethnicity, children in
3
- 编写程序:基类base,有一个私有数据成员n,派生类Derived公有继承基类base,Derived中新增加一个数据成员m-Programming: the base class base, there is a private data member n, the derived class Derived inherits the base class public base, Derived add a new data member m
3
- 设计一个立方体类Box,能够计算并输出立方体的表面积和体积。 提示:定义一个立方体类Box,包含一个私有数据成员(立方体边长),两个公有函数(构造函数Box和计算并输出立方体的表面积和体积的函数show)。 -Design of a cube class Box, the output can be calculated and the surface area and volume of the cube. Tip: define a class cube Box, comprisin
shiyan4-3
- 编写一个栈的类模板(包括其成员函数定义),以便为任何类型的对象提供栈结构数据操作。并在应用程序中创建整数栈、字符栈和浮点数栈,提供一些数据进行进栈、退栈和打印操作的测试。-Write a stack class template (including its membership function is defined), in order to provide data manipulation stack structure as any type of object. And create
3
- 模糊数学聚类的matlab程序原代码,可用以对离散数据进行分类,综合评价。-Fuzzy clustering matlab program source code, can be used to classify the discrete data, comprehensive evaluation.
keshe
- c语言课程设计,一个药房药品管理系统,系统主要涉及“药房”、“药品”和“出入记录”3类信息,采用多重链式数据结构储存。-c language curriculum design, a pharmacy drug management system, the system mainly relate to " pharmacy" , " drugs" and " access to records" three types of informat
3
- 本程序实现了本地摄像头数据的获取解码和显示。是基于FFmpeg的libavdevice类库最简单的例子-This program implements obtain decode and display local camera data. FFmpeg library is based on the simplest example libavdevice
faipun_V8.3
- 用MATLAB实现动态聚类或迭代自组织数据分析,搭建OFDM通信系统的框架,借鉴了主成分分析算法(PCA)。- Using MATLAB dynamic clustering or iterative self-organizing da
daima3
- 1. 编写字符串类CTString,设计样式如下: class CTString { char *m_pData // 用于保存字符数据 int m_nLen // 记录字符长度 public: // 构造函数和析构函数 CTString() CTString(char *) CTString(const CTString&) ~ CTString() // 其它成员函数 CTString *Copy(CTString
源代码
- 已知n个人(以编号1,2,3...n分别表示)围坐在一张圆桌周围。从编号为k的人开始报数,数到m的那个人出列;他的下一个人又从1开始报数,数到m的那个人又出列;依此规律重复下去,直到圆桌周围的人全部出列。通常解决这类问题时我们把编号从0~n-1,最后[1] 结果+1即为原问题的解。(Known n individuals (represented by numbers 1, 2, 3,..., n) sit around a round table. K from a number of pe
箱子
- 按以下给出的类框架描述和要求建立一个类Trunk,并按要求完成测试。 class Trunk { float edge; //正方形箱子底边长 float high; //箱子高 char color; //颜色(允许的取值:'G'、'P'、'Y') int quantity; //数量 char *use; //用途(如:纸箱、行李箱、计算机箱) public:
实验1
- 约瑟夫环(约瑟夫问题)是一个数学的应用问题:已知n个人(以编号1,2,3...n分别表示)围坐在一张圆桌周围。从编号为k的人开始报数,数到m的那个人出列;他的下一个人又从1开始报数,数到m的那个人又出列;依此规律重复下去,直到圆桌周围的人全部出列。通常解决这类问题时我们把编号从0~n-1,最后[1] 结果+1即为原问题的解。(The Joseph ring (Joseph problem) is a mathematical application problem: known n indiv
diamond3
- 可以实现读取气象micaps-diamond3类数据(It can read weather MICAPS diamond 3 data)