-
用回溯法求解背包问题有n项假设,定…
用回溯解背包问题 假设有n件物品,定义一个结构体a[]来存储,结构体有两个成员weight和value(weight表示重量,value表示价值)先定义一个数组col[]表示每个物品当前状态(为1表示被选,为0表示未被选),其初值全为1,从下标为0开始遍历,当前所选物品总重和总价值分别设为tw和tv(初值均为0),背包的限重设为limit,若第i个物品满足tw+a[i].weight
- 2022-06-27 19:44:28下载
- 积分:1
-
GIS相关工具,可以读写压缩的e00文件
GIS相关工具,可以读写压缩的e00文件-GIS tools that can read and write file compression e00
- 2022-05-17 21:43:55下载
- 积分:1
-
旅行商问题的动态规划方法已加入票据。
用动态规划法求解旅行商问题 已经加入注释 欢迎批评指正-dynamic programming method for the traveling salesman problem has joined Notes welcome criticism correction
- 2022-01-27 20:41:09下载
- 积分:1
-
DELHPI Ymodem收发文件
应用背景
说明:就是COM口读写文件的应用软件的源代码。使用Ymodem协议传输文件,支持6个COM口。多钟波特率选择。
就是COM口读写文件的应用软件的源代码。使用Ymodem协议传输文件,支持6个COM口。多钟波特率选择。
关键技术DELPHI 源代码COM口编程开发使用ymodem协议收发文件DELPHI 源代码COM口编程开发使用ymodem协议收发文件DELPHI 源代码COM口编程开发使用ymodem协议收发文件
- 2022-03-22 16:13:43下载
- 积分:1
-
基于win32 console平台应用程序使用ADO数据库进行读,写,修改和删除access数据库中数据的操作
基于win32 console平台应用程序使用ADO数据库进行读,写,修改和删除access数据库中数据的操作-Platform based on the win32 console application uses ADO database to read, write, modify and delete database data access operations
- 2022-03-25 12:17:13下载
- 积分:1
-
汽车的java应用程序实例的JavaBean JavaBean通用模板。这个...
auto JAVA程序实际应用JAVABean的实例,通用的JAVABean模板。在此与大家分享。-auto JAVA application procedures JAVABean example JAVABean generic template. The share with you.
- 2022-03-16 17:41:44下载
- 积分:1
-
八皇后问题,运行结果导入到txt文本文件中
八皇后问题,运行结果导入到txt文本文件中-8 Queen
- 2022-03-14 18:20:33下载
- 积分:1
-
stepper motor control, can be a good learning SCM stepper motor control and appl...
步进电机控制,能很好地学习单片机控制步进电机的原理及应用。-stepper motor control, can be a good learning SCM stepper motor control and application of the principle.
- 2022-04-27 03:27:13下载
- 积分:1
-
在控制台/console程序中使用MFC的例子
在控制台/console程序中使用MFC的例子-A example which uses MFC in console program
- 2022-02-16 04:08:26下载
- 积分:1
-
The data acquisition program based on 8112pg compiled with VC
基于8112pg的数据采集程序用VC编的-The data acquisition program based on 8112pg compiled with VC
- 2022-01-25 15:50:40下载
- 积分:1