-
给定n 个物品, 物品i重为wi 并且价值为 vi ,背包所能承载的最大容量为 W.
0...
给定n 个物品, 物品i重为wi 并且价值为 vi ,背包所能承载的最大容量为 W.
0-1 背包问题即是选择含有着最大总价值的物品的子集且它的容量 ≤W .
用动态规划实现-given n goods, items i weight of wi and value of vi, the backpack can carry a maximum capacity of W. 0-1 knapsack problem that is a choice with a maximum total value of the goods but a subset of the W capacity. Dynamic Programming
- 2022-03-09 15:39:44下载
- 积分:1
-
Curve cubic spline interpolation, in both nodes with non
曲线的三次样条插值,在非首尾节点处具有三次光滑性质-Curve cubic spline interpolation, in both nodes with non-smooth nature of the three
- 2022-12-27 13:05:04下载
- 积分:1
-
指派问题的匈牙利解法,从文件中读入待指派的数据。
指派问题的匈牙利解法,从文件中读入待指派的数据。-Assignment problem of the Hungarian method, read from a file to be assigned to data.
- 2022-02-06 09:23:01下载
- 积分:1
-
C library science project
C科学工程程序库-C library science project
- 2023-06-26 17:35:04下载
- 积分:1
-
GN算法Python代码
Market Newman写的复杂网络的加权GN算法 算法用Python写的
其基本思想是不断的删除网络中具有相对于所有源节点的最大的边介数(ege betweenness)的边,然后,再重新计算网络中剩余的边的相对于所有源节点的边介数,重复这个过程,直到网络中,所有边都被删除。
- 2022-03-19 07:03:37下载
- 积分:1
-
计算飞船相对测站的位置矢量单位矢量在赤道坐标系中的三个分量...
计算飞船相对测站的位置矢量单位矢量在赤道坐标系中的三个分量-Calculation of the spacecraft relative position vector of the station unit vector in the equatorial coordinate system of the three subscales
- 2023-03-12 12:35:03下载
- 积分:1
-
Runge
龙格-库塔法是工程中常用的求解微分方程的一种方法.而且具有四阶精度,因此应用很广泛.改程序给出了其源代码.-Runge- Kutta method is commonly used in engineering solving a differential equation methods. But with four bands precision, it is widely used. Changed its procedures is the source code.
- 2022-05-18 08:57:06下载
- 积分:1
-
现在国外很多电磁场领域学者研究的热点――时域有限元方法,而该算法在国内尚无教材。该文件为伊利诺伊大学的一本关于该算法的博士论文。完全可以作为对该算法的开发参考。...
现在国外很多电磁场领域学者研究的热点――时域有限元方法,而该算法在国内尚无教材。该文件为伊利诺伊大学的一本关于该算法的博士论文。完全可以作为对该算法的开发参考。-Now, many foreign academics who have studied the hot field of electromagnetic field- time-domain finite element method, and the algorithm is no teaching materials in the country. This document gives the University of Illinois in a doctoral thesis on the algorithm. Complete the development of the algorithm can be used as reference.
- 2022-03-26 13:10:03下载
- 积分:1
-
差分进化算法的无功分配
应用背景差分进化(Differential Evolution,DE)算法是目前对于遗传算法的修正,和GA,PSO,ACO等进化算法一样,都是基于群体智能的随机并行优化算法,通过模仿生物群体内个体间的合作与竞争产生的启发式群体智能来指导优化搜索。关键技术基于差分进化算法的无功优化,采用IEEE30节点测试系统,接入分布式能源风电机组,程序为C语言编写,可算最小网损,若更改测试系统,可根据数据文件自行替换,支持环网。
- 2022-06-03 12:13:05下载
- 积分:1
-
介绍了数据挖掘的经典算法,属于国内第一本有关数据挖掘的教材。...
介绍了数据挖掘的经典算法,属于国内第一本有关数据挖掘的教材。-Introduction of the classic data mining algorithms, belonging to the first book on data mining materials.
- 2023-04-04 08:40:04下载
- 积分:1