代码搜索:背包问题

找到约 10,000 项符合「背包问题」的源代码

代码结果 10,000
www.eeworm.com/read/113336/15464716

cpp 0-1背包.cpp

#include #include #include #include using namespace std; #define M 50 void Knapsack(int v[M],int w[M],int c,int n,int m[M][M]) { void Traceback(int[M][M],i
www.eeworm.com/read/117505/14917835

m 使用模拟退火算法(saa)解决0-1背包问题.m

% 使用模拟退火算法(SAA)解决0-1背包问题 % 作者:林培科技 同济大学CS系模式识别与人工智能硕士研究生 % 时间:2004年10月 clear; w=[2 4 6]; %物品重量 c=[3 10 12]; %物品价值 M=11; % 背包总容量 x=zeros(1,3); % 初始解 n=size(x,2); f=0; m=0; L=100*n; % M
www.eeworm.com/read/488751/6485116

mht 背包問題(knapsack problem).mht

From: Subject: =?gb2312?B?sbOw/IaW7n2jqEtuYXBzYWNrIFByb2JsZW2jqQ==?= Date: Wed, 13 Sep 2006 01:13:35 +0800 MIME-Version: 1.0 Content-Type: multipart/related;
www.eeworm.com/read/201640/15400378

cpp 0-1背包回溯-.cpp

#include #include #include "class.h" using namespace std; int *x; //最优解数组 int bestp=0; //最优值初始化为零 //合并函数 void Merge(int left,int mid,int right,Obje
www.eeworm.com/read/201640/15400382

dsw 0-1背包回溯.dsw

Microsoft Developer Studio Workspace File, Format Version 6.00 # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! ###############################################################################