-
背包问题的C++ 实现
背包问题的 求解代码,自己用C++实现,里面包括0-1背包问题 和 单位质量的背包问题,包括如下几个关键的函数:void vwComp(Item*item,int n) ;void vwSort(Item*item,int n);int getMaxValue(Item*item,int n, int p,int cvs,int cws);double frackKnapsack(Item*item,int n,double *chs);void zeroOneKnapsack(Item*item,int n,int &fv,int &fw,int *fch)
- 2022-10-14 21:55:03下载
- 积分:1
-
用链表计算任意大小数的阶乘
用链表计算任意大小数的阶乘-calculated using the number of arbitrary size factorial
- 2022-04-08 19:11:01下载
- 积分:1
-
提供一个直接搜索算法程序,具有全局寻优能力。
提供一个直接搜索算法程序,具有全局寻优能力。-provide a direct search procedures, and have an overall optimization capabilities.
- 2022-07-16 12:31:33下载
- 积分:1
-
CHOLESKI_ 算法
以因子正定 N 由 N 矩阵 A 的 LL * * T,
L 在哪里低三角。
输入: 维度 N;1 条目 A(I,J) < = I J < = A.N
输出: 条目 L(I,J) 1 < = J < = I 1 < = I < = L.N
条目 U = L * * T 是 U(I,J)=L(J,I),我 < = J < = N,1 < = I < = N
- 2022-08-26 04:44:12下载
- 积分:1
-
推荐系统-电影推荐-SVD方案
这是数据挖掘中的一次作业,用推荐系统的方法,来对电影打分。SVD(Singular Value Decomposition)的想法是根据已有的评分情况,分析出评分者对各个因子的喜好程度以及电影包含各个因子的程度,最后再反过来根据分析结果预测评分。
- 2022-01-26 06:44:24下载
- 积分:1
-
在一个圆圈周围的操场上的操场放置氮堆。石头是有…
在一个圆形操场的四周摆放着n堆石子。现要将石子有次序地合并成一堆。规定每次只能选相邻的2堆石子合并成新的一堆,并将新的一堆石子数记为该次合并的得分。试设计一个算法,计算出将n堆石子合并成一堆的最小得分和最大得分。
编程任务:对于给定n堆石子,编程计算合并成一堆的最小得分和最大得分。-Playground in a circle around the stones are placed n heap. Stone is to have the order to merge into a pile. Provisions can only choose 2 adjacent stones piled into a heap of new and new pile of stones a few in mind for its combined score. Try to design an algorithm to calculate the n heap into a pile of stones the minimum scores and maximum scores. Programming tasks: for a given n stack stone, into a pile of programming the calculation of the minimum scores and maximum scores.
- 2022-03-18 23:23:02下载
- 积分:1
-
二次插值函数映射图
二次插值函数绘制图形-quadratic interpolation function mapping graphics
- 2022-01-26 08:30:33下载
- 积分:1
-
基于Aloha的RFID的防碰撞仿真算法的相关论文以及代码实现
资源描述基于Aloha的RFID的防碰撞仿真算法的相关论文以及代码实现,亲测好用
- 2022-01-23 11:10:15下载
- 积分:1
-
1.简介 本程序是用纯C语言编的一个基于菜单命令行的数据库系统。可以创建多个数据库,数据库表,字段。其中字段的类型只能为整形,浮点型,字符型和字符串型(最大长度...
1.简介 本程序是用纯C语言编的一个基于菜单命令行的数据库系统。可以创建多个数据库,数据库表,字段。其中字段的类型只能为整形,浮点型,字符型和字符串型(最大长度确定,不能改变)。 2.功能 a)数据库存储: 一个数据库存储于一个文件中,打开文件将数据库载入到内存。 保存时将内存中数据重新写到文件中去。 b)数据库管理: 提供数据库的创建,表的创建,字段的创建 提供对数据的查询,删除,修改,排序功能 c)支持SQL部分语句: 支持SELECT 和DELETE语句-1. Introduction of this program is pure C language based on a series of menu command-line database system. You can create multiple databases, database tables, fields. The type field which can only plastic, floating point, character and string (maximum length and can not be changed). 2. A function) database storage : a database stored in a document, the document will open the database to include memory. When will preserve memory data re-wrote a document. B) database management : to provide database creation, table creation, the field for the creation of data inquiries, delete, modify, sequencing feature c) some support SQL statement : support DELETE and SELECT statements
- 2023-05-12 09:50:03下载
- 积分:1
-
等离子体PIC模拟
等离子体PIC模拟-PIC simulation of plasma
- 2022-11-02 03:45:04下载
- 积分:1