-
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
-
一个演示正二十面体与球的(OR)组合(AND)组合(SUB)组合等的工程,编译,运行都需要glut...
一个演示正二十面体与球的(OR)组合(AND)组合(SUB)组合等的工程,编译,运行都需要glut-a demonstration is icosahedron with the ball (OR) Portfolio (AND) Combination (SUB) combination of engineering , compile, run need glut
- 2022-03-20 04:45:14下载
- 积分:1
-
ACM Geometry Collection
ACM Geometry Collection
ACM Geometry Collection-ACM Geometry Collection
ACM Geometry Collection
- 2023-01-24 10:05:04下载
- 积分:1
-
判断IP地址是否合法
全零(“0.0.0.0”)地址对应于当前主机。全“1”的IP地址(“255.255.255.255”)是当前子网的广播地址。 在IP地址3种主要类型里,各保留了3个区域作为私有地址,其地址范围如下: A类地址:10.0.0.0~10.255.255.255 B类地址:172.16.0.0~172.31.255.255 C类地址:192.168.0.0~192.168.255.255
- 2022-05-25 06:57:22下载
- 积分:1
-
c#实现复数矩阵奇异值分解svd 计算其自协方差矩阵 复矩阵求逆的全选主元高斯-约当法
处理对象是复数矩阵。利用c#语言,定义了复数矩阵类,同时实现复数矩阵奇异值分解svd、计算其自协
方差矩阵、复矩阵求逆的全选主元高斯-约当法等矩阵运算。该类复数矩阵的运算,在一些算法中经常用到。
- 2023-05-08 15:55:02下载
- 积分:1
-
Fourier
Fourier-Mellin算法,更多细节请看下面的网址: http://www.ecs.soton.ac.uk/~aiw99r/fm_transform/-Fourier-Mellin algorithm for fm transform , for more detailed information please check with http://www.ecs.soton.ac.uk/~aiw99r/fm_transform/
- 2022-06-02 10:23:07下载
- 积分:1
-
openGI (几何图像)
OpenGI 是一个独立于平台的 C 库的三角网格模型参数化和创建从这种参数化的几何图像。 功能简单易学 OpenGL 类似语法和编程 2-流形上的任意亏格与可变数量 boundariesvarious 参数化算法,如平均值 paradigmsworks 拉伸最小化,为多图表 patchi ficationshardware 的原始 GIM algorithmsupport 加速几何图像 creationsampling 各种通用 attributestight 集成使用 OpenGL 的轻松和高效的数据共享
- 2022-04-17 10:49:59下载
- 积分:1
-
This the cpp file for basic fixed size matrix operations etc.
This the cpp file for basic fixed size matrix operations etc. -This is the cpp file for basic fixed size matrix operations etc.
- 2022-03-07 02:56:32下载
- 积分:1
-
Java应用程序的contrat增强
JAVA 应用程序源代码中的图像处理 (对比度增强与直方图均衡化和重构......)而无需使用预定义的函数
- 2022-01-26 06:31:23下载
- 积分:1
-
these are 5 C codes (BorlandC++) realizing the numerical algoriths
these are 5 C codes (BorlandC++) realizing the numerical algoriths
- 2023-02-28 22:25:03下载
- 积分:1