-
红黑树:输入:在同一目录下的redblacktree.txt文件中输入十个大于0的数值,每个数值中间用空格格开 数目可以大于十个,但是要求在源程序中改变#def...
红黑树:输入:在同一目录下的redblacktree.txt文件中输入十个大于0的数值,每个数值中间用空格格开 数目可以大于十个,但是要求在源程序中改变#define NUM 10 ,改成相应关键值各个数输出:按照先序输出红黑树,格式为:根节点。颜色(左子树。颜色,右子树。颜色),并输出此 树的黑高度,然后输入要删除的关键值,按回车后输出删除后的结果,并输出其高度。-RED-BLACK TREE : Admission : in the same directory under the file input redblacktree.txt greater than 0 10 digits each intermediate numerical grid with open spaces can be greater than the number 10, but requested change in the source# define NUM 10, the corresponding critical value into several different output : In accordance with the first sequence RED-BLACK TREE output format : nodes. Color (left subtree. Color, right subtrees. Color), and export of the black tree height and then delete the key to value, according to enter the output was the result of the deletion, and its high output.
- 2022-06-11 22:41:49下载
- 积分:1
-
课程管理系统 适用于教师
课程管理系统 适用于教师 -course management system applicable to teachers
- 2022-01-25 14:30:21下载
- 积分:1
-
二叉树的基本操作
二叉树的基本操作-binary tree as the basic operation
- 2022-11-13 19:10:03下载
- 积分:1
-
遗传算法C
很好用的c
注:前两个文件存储为m文件并放在工作目录下,运行结果为
p =
0.0000 -0.0000 0.0055
大家可以直接绘出f(x)的图形来大概看看f(x)的最值是多少,也可是使用优化函数来验证。matlab命令行执行命令:
fplot("x+10*sin(5*x)+7*cos(4*x)",[0,9])
evalops是传递给适应度函数的参数,opts是二进制编码的精度,termops是选择maxGenTerm结束函数时传递个maxGenTerm的参数,即遗传代数。xoverops是传递给交叉函数的参数。mutops是传递给变异函数的参数。
- 2023-05-18 06:50:04下载
- 积分:1
-
描述图的头文件,不过是用C描述的,移植到了VC当中
描述图的头文件,不过是用C描述的,移植到了VC当中-description of the plan is the first document, but is described in the C and transplant them to the VC
- 2022-02-22 03:04:58下载
- 积分:1
-
本程序是在c调试成功的.对初学者有很大的作用!
本程序是在c调试成功的.对初学者有很大的作用!-the procedure was successful c debugging. For beginners a significant role!
- 2022-08-19 02:40:39下载
- 积分:1
-
数据库开发,VC应用实例教程VisualC++软件项目开发实例源码
数据库开发,VC应用实例教程VisualC++软件项目开发实例源码-Database development, VC Tutorial Application VisualC++ Examples source software project development
- 2022-06-12 10:46:15下载
- 积分:1
-
这是一款简单的ASP考试系统,可供无复杂用途的用户下载使用...
这是一款简单的ASP考试系统,可供无复杂用途的用户下载使用-This is a simple ASP web system for complex applications without the use of users to download
- 2022-07-09 10:32:29下载
- 积分:1
-
类与数据库的连接
此项目帮助您管理您的数据与交易基地使用 ConnectionString、 OleDb 或 Odbc 连接。
- 2022-01-22 14:38:28下载
- 积分:1
-
包括窗体与界面、控件、系统、文件、图形图像、多媒体、数据库 、网络、动态链接库等...
包括窗体与界面、控件、系统、文件、图形图像、多媒体、数据库 、网络、动态链接库等-Including the form and interface, controls, systems, documents, graphics and video, multimedia, database, network, dynamic link libraries, etc.
- 2023-04-01 22:55:14下载
- 积分:1