-
数据结构中的贪心法装箱问题,结果给出装箱的办法和每个箱的容量。...
数据结构中的贪心法装箱问题,结果给出装箱的办法和每个箱的容量。-Data structure in the bin-packing problem greedy method, the result is given packing methods and the capacity of each box.
- 2022-03-13 05:54:16下载
- 积分:1
-
采用递归调用的方法打印输出一个非循环图的所有拓扑排序
采用递归调用的方法打印输出一个非循环图的所有拓扑排序-output all the topological sorts of an acyclic graph
- 2022-08-20 16:51:33下载
- 积分:1
-
VC++语言实现与数据库的连接,效果不错的
VC++语言实现与数据库的连接,效果不错的-VC++ Language with database connectivity, the effect of good
- 2022-08-03 19:08:44下载
- 积分: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
-
在数据结构中实现两个一元多项式的相加、相减和相乘
在数据结构中实现两个一元多项式的相加、相减和相乘-In the data structure of the polynomial realize one of the two together, subtract and multiply
- 2022-04-22 17:22:24下载
- 积分:1
-
北航《数据结构》PPT,内容详细,逻辑感强,适合自学
北航《数据结构》PPT,内容详细,逻辑感强,适合自学-Beijing Institute of Aeronautics " data structure" PPT, and detailed, logical sense, good for self-study
- 2023-04-24 04:20:02下载
- 积分:1
-
编写一个程序,学生统计信息的结果(存储…
编写一程序,统计学生的成绩信息(保存在文件Score.dat中)。
要求:
1. 能按总分,数学成绩,英语成绩,计算机成绩分别排序
2. 能分别统计数学,英语,计算机中不及格人数
3. 能按学号查找学生,并显示该学生信息。
注
1. 从文件中读入数据以及功能菜单显示已在文件ReadData.c 和Menu.c中给出;
2. 代码的总体结构已在文件Score.c中给出,并定义了一些函数头,但有关函数体代码和一些主程序处理代码要求学生填写,也可以修改函数头;
编译score.c即可
-prepared a procedure, the results of the students statistical information (stored in the document Score.dat). Requirements : 1. According to score, the math and English results, the computer results were 2 ranking. Statistics were able to mathematics, English, Computer failure number three. can search by school, students, and that the student information. Note 1. Read from the file into the data and functions of the menu showed the documentary and Menu.c ReadData.c given; 2. The overall code structure has been the Score.c given, and the definition of some of the first function, However, the body function code and address some main program code requiring students to complete, can also modify function first; compiler can s
- 2022-08-20 01:05:35下载
- 积分:1
-
The most popular embedded database. Faste st and stablest.
The most popular embedded database. Fastest and stablest.-The most popular embedded database. Faste st and stablest.
- 2022-07-04 10:09:28下载
- 积分:1
-
类处理,异常处理,超载的编码,REM addnewstuden…
类的处理,异常处理,超载的编码,REM AddNewStudent.sql
REM Chapter 9, Oracle9i PL/SQL Programming by Scott Urman-Class processing, exception handling, overloading the encoding, REM AddNewStudent.sql REM Chapter 9, Oracle9i PL/SQL Programming by Scott Urman
- 2022-07-16 01:28:27下载
- 积分:1
-
一个彩票选号的随即函数值!
其实,很简单,大家看以下!...
一个彩票选号的随即函数值!
其实,很简单,大家看以下!-a lottery Dip the function immediately! In fact, very simple, we look at the following!
- 2022-04-27 14:16:45下载
- 积分:1