-
0/1背包java实现
import java.util.Scanner;
public class Packsack{
Scanner sc=new Scanner(System.in);
int n;//物品个数
int m;//背包最大容量
int w[];//存储每个物品的重量
int v[];//存储每个物品的价值
int Max[][];//行表示前i个物品,列表示容量j,该值为将前i个物品装入容量为j的最大价值
public Packsack(){
System.out.println("please input the number of goods");
n=sc.nextInt
- 2022-04-13 13:49:39下载
- 积分:1
-
关于限制性四叉树实现算法的,很不错哦!
关于限制性四叉树实现算法的,很不错哦!- Realizes the algorithm about the restrictive four forks tree,
is very good oh!
- 2022-07-09 04:26:04下载
- 积分:1
-
人工智能-启发式搜索(八数码)&神经网络(感知器)
人工智能是目前的热门学科,在电影“超能查派”中,人工智能的利用让我们眼睛大为一亮。 然而要怎么进行人工智能的基础学习呢?所以这里提供人工智能的两个核心块-启发式搜索&神经网络。当你搞明白程序的核心思想,你离下一步的成功已不再遥远。
- 2023-02-05 13:40:04下载
- 积分:1
-
smallest circle with a branch and bound method! With a good strategy for cutting...
最小圆排列的分支限界法! 用了很好的剪支策略很快的!-smallest circle with a branch and bound method! With a good strategy for cutting sticks soon!
- 2022-02-19 22:32:56下载
- 积分:1
-
数字验证码的识别
本算法采用C#语言编写,实现了对数字级别的验证码进行识别。首先利用Denoising()函数对图片进行预处理,去除杂质,利用to_str()函数对图片进行分割并转换为字符串,利用shibie_single()对每个字符串进行识别,最红将每个识别结果拼接得到最终结果。
- 2022-02-15 21:00:47下载
- 积分:1
-
2kDPDS算法源码
2k近邻数据流聚类算法,采用vc++实现
The summary of what you will find in each of the files that
make up your 2kDPDS application.
2kDPDS.dsp
This file (the project file) contains information at the project level and
is used to build a single project or subproject. Other users can share the
project (.dsp) file, but they should export the makefiles locally.
2kDPDS.h
This is the main header file for the application. It includes other
- 2022-05-15 07:28:24下载
- 积分:1
-
改进的leach协议算法
LEACH算法是一种无线传感器网络路由协议,leach协议算法基本思想是:以循环的方式随机选择簇头节点,将整个网络的能量负载平均分配到每个传感器节点中,从而达到降低网络能源消耗、提高网络整体生存时间的目的。仿真表明,与一般的平面多跳路由协议和静态分层算法相比,LEACH分簇协议可以将网络生命周期延长15%。
- 2022-01-25 17:31:49下载
- 积分:1
-
Sopascommunication
这是一个关于LMS100型号的激光雷达扫描数据示例程序,程序中有很多关于参数的设置,基于.net,利用socket实现通信。因为网上关于激光雷达可借鉴的程序很少,所以贴出来供学习激光雷达的人学习!
- 2022-01-26 05:38:27下载
- 积分:1
-
计算圆覆盖率源程序,很精彩!
计算圆覆盖率源程序,很精彩!-round coverage calculation source, wonderful!
- 2022-07-17 11:39:06下载
- 积分:1
-
蚁群算法的源代码,其中详细的实现过程…
蚁群算法的源代码,里面有详细的实现过程,有很好的参考价值-Ant colony algorithm source code, which the realization of the process in detail, have a good reference value
- 2023-01-10 08:50:03下载
- 积分:1