-
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
-
本文通过给定的训练模式为例来推导bp网络学习的算法,并用(语言编程实现,运行程序给出学习误差曲线,最后指出实际应用中BP网络学习存
在的缺点并提出几点改进方...
本文通过给定的训练模式为例来推导bp网络学习的算法,并用(语言编程实现,运行程序给出学习误差曲线,最后指出实际应用中BP网络学习存
在的缺点并提出几点改进方案。
-In this paper, given as an example to the training model is derived bp network learning algorithm, and use (programming language, run the program gives error learning curve, and finally pointed out that the practical application of BP network learning shortcomings and to make a few points to improve the program.
- 2022-05-24 18:37:02下载
- 积分:1
-
ECC加密算法的C语言实现
已知椭圆曲线E23(16,10): y 2 ≡ x3 +16x +10mod23和它上的一个点G=(5,10), 计算G 的所有倍点。相当于用C语言编程实现了该题
- 2022-04-12 06:29:38下载
- 积分:1
-
NRF51822 UART
/* Copyright (c) 2013 Nordic Semiconductor. All Rights Reserved.
*
* The information contained herein is property of Nordic Semiconductor ASA.
* Terms and conditions of usage are described in detail in NORDIC
* SEMICONDUCTOR STANDARD SOFTWARE LICENSE AGREEMENT.
*
* Licensees are granted free, non-transferable use of the information. NO
* WARRANTY of ANY KIND is provided. This heading must NOT be removed from
* the file.
*
*/
- 2022-06-19 21:29:20下载
- 积分:1
-
图像去噪算法
图像去噪方法
这种算法可能不是非常能干,但它仍然给了可观的成果,我让他们靠自己
没有任何背景图像处理技术。自己做了什么是,第一次发现中的不规则值
3 x 3 矩阵,可能是噪音。由不规则的价值我的意思是,为值是的 20 (这一因素可以
改变,以研究其作用效果) 远及其邻域的单位。然后我们用替代的普通的平均数
到不规则值的矩阵中的值。
下面是 MATLAB 代码为同一和最终结果。观察到 3 到 4dB 增益的 PSNR。
欢呼 !!
- 2022-04-21 10:26:27下载
- 积分:1
-
魔方算法 即横竖斜的数字和都相等的方阵
魔方算法 即横竖斜的数字和都相等的方阵-Cube algorithm that regardless of the number of ramps and are equal to the matrix
- 2022-03-13 15:25:23下载
- 积分:1
-
15数码难题启发式搜索解决
本代码是作者上完人工智能课程后的大作业。作者上网发现了许多代码都晦涩难懂。作者本人写的这个代码不仅好懂,而且数据结构非常清晰,算法并不高深,适合初学者进行模仿。
- 2022-01-24 16:46:04下载
- 积分:1
-
poj_3134 IDA*
#include
#include
#include
#include
#include
#include
using namespace std;
int deep,n;
int v[1005]={1};
int h(int top)
{
int k=deep-top;
int x=v[top];
请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
- 2022-09-14 00:25:02下载
- 积分:1
-
bushound 3.1.rar bushound 3.1.rar bushound 3.1.rar bushound 3.1.rar
BusHound 3.1.rar BusHound 3.1.rar BusHound 3.1.rar BusHound 3.1.rar -BusHound 3.1.rarBusHound 3.1.rarBusHound 3.1.rarBusHound 3.1.rarBusHound 3.1.rarBusHound 3.1.rar
- 2022-03-14 16:07:27下载
- 积分:1
-
adasdasdasd
- 2022-07-26 00:54:54下载
- 积分:1