-
1.在选择装入背包的物品时,对每种物品I只有两种选择,即装入背包或不装入背包。不能将物品I装入背包多次,也不能只装入部分的物品I。
2.物品的种数,重量、价...
1.在选择装入背包的物品时,对每种物品I只有两种选择,即装入背包或不装入背包。不能将物品I装入背包多次,也不能只装入部分的物品I。
2.物品的种数,重量、价值,背包的容量要求输入;
3.算法中加入剪枝函数(对重量已经超过限制重量的子树不搜索);
-1. In the selection of the items into the backpack, for each of the items I have only two choices, that is loaded or not loaded backpack backpack. Items should not be many times I load backpack can not only part of the goods loaded I. 2. Number of species items, weight, value, capacity backpack for the importation 3. Algorithm to add pruning function (of weight over the weight limit does not search sub-tree)
- 2022-03-25 05:48:01下载
- 积分:1
-
工业控制中的一种常用控制算法PID运算
工业控制中的一种常用控制算法PID运算-industrial control of a common computing PID control algorithm
- 2023-03-25 00:10:04下载
- 积分:1
-
对于刚开始学电脑的人,用的是无聊的。在已知…
for the just beginning learn the computer person,use DOS is boring . after known a little DOS,think dos is mysterious.this is the book introduce how to use dos deeply.
- 2022-03-24 06:35:12下载
- 积分:1
-
8个字的点阵显示,可以向左移动,有非常简便的算法!
8个字的点阵显示,可以向左移动,有非常简便的算法!-eight-character dot-matrix display that can be left Mobile, a very simple algorithm!
- 2022-03-05 15:50:24下载
- 积分:1
-
demo(S50)源代码
应用背景D8 读卡器S50DEMO源代码,用于技术开发,和卡片个人化应用关键技术// rfvcDlg.cpp : implementation file
//
#include "stdafx.h"
#include "rfvc.h"
#include "rfvcDlg.h"
#include "dcrf32.h"
#include "General.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
//dc_HANDLE icdev;
HANDLE icdev;
unsigned long cardsnr;
/////////////////////////////////////////////////////////////////////////////
// CRfvcDlg dialog
CRfvcDlg::CRfvcDlg(CWnd* pParent /*=NULL*/)
: CDialog(CRfvcDlg::IDD, pParent)
{
//{{AFX_DATA_INIT(CRfvcDlg)
//}}AFX_DATA_INIT
// Note that LoadIcon does not require a subsequent DestroyIcon in Win32
m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME);
}
- 2022-02-16 02:14:23下载
- 积分:1
-
VB to change the file name under the bulk of the software
VB下的批量搜索和改变文件名的软件,调试通过-VB to change the file name under the bulk of the software
- 2023-01-12 18:45:03下载
- 积分:1
-
Detailed introduction matlab (Signals and Systems) the basic usage, accompanied...
详细介绍matlab(信号与系统)的基本用法,附说明-Detailed introduction matlab (Signals and Systems) the basic usage, accompanied by a
- 2022-12-12 08:10:02下载
- 积分:1
-
C#多线程例子
多线程的一些简单例子,针对初学者的一些简单线程代码,希望对大家可以起到帮助,多线程的一些简单例子,针对初学者的一些简单线程代码,希望对大家可以起到帮助,多线程的一些简单例子,针对初学者的一些简单线程代码,希望对大家可以起到帮助,
- 2022-02-25 06:02:22下载
- 积分:1
-
c语言开发的五子棋游戏,简单的人工智能计算每步的分数,然后下子。...
c语言开发的五子棋游戏,简单的人工智能计算每步的分数,然后下子。-c language development of the welcome to play, simple artificial intelligence scores in each of the steps, and then erupted in.
- 2023-08-11 05:05:03下载
- 积分:1
-
jsp电子表单提交,和一些关于登陆注册的相关代码,适于初学者的功能模块...
jsp电子表单提交,和一些关于登陆注册的相关代码,适于初学者的功能模块-jsp electronic form submission, and some on the landing of the relevant register code, suitable for beginners of functional modules
- 2022-02-10 11:10:50下载
- 积分:1