登录
首页 » Windows开发 » java实现0-1背包问题

java实现0-1背包问题

于 2023-08-15 发布 文件大小:11.41 kB
0 163
下载积分: 2 下载次数: 1

代码说明:

算法里最重要的0-1背包问题,很多问题都可以归结于背包问题,动态规划的典型例子

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • c builder used for file manipulation
    用c++builder进行文件操作-c builder used for file manipulation
    2023-05-14 19:35:03下载
    积分:1
  • Basic C with visual studio
    这是教你如何在visualstudio中编写程序的basic c。它包含了C/C++语言中的SyTeX。希望这个文件能对大家有所帮助。
    2022-03-05 03:11:26下载
    积分:1
  • 用户管理员
    本系统是为开发商管理用户使用语言 php,mysql,javascript。 系统可以注册一个新用户,删除,修改,恢复的密码。
    2023-02-15 22:35:04下载
    积分:1
  • vc6可以运行的jsoncpp
    vc6可以运行的jsoncpp,已经配置好工程文件,修改好源码,不需要任何改动。
    2023-05-03 05:35:04下载
    积分:1
  • 十字链表是这样构成的:用链表模拟矩阵的行(或者列,这可以根据个人喜好来定),然后,再构造代表列的链表,将每一行中的元素节点插入到对应的列中去。书中为了少存几个表...
    十字链表是这样构成的:用链表模拟矩阵的行(或者列,这可以根据个人喜好来定),然后,再构造代表列的链表,将每一行中的元素节点插入到对应的列中去。书中为了少存几个表头节点,将行和列的表头节点合并到了一起――实际只是省了几个指针域,如果行和列数不等,多余的数据域就把这点省出的空间又给用了。这点小动作让我着实废了半天劲,个人感觉,优点不大,缺点不少,不如老老实实写得象个十字链表,让人也好看一些,这是教科书,目的是教学。实在看得晕的人,参阅C版的这部分内容,很清晰。我也不会画图,打个比方吧:这个十字链表的逻辑结构就像是一个围棋盘(没见过,你就想一下苍蝇拍,这个总见过吧),而非零元就好像是在棋盘上放的棋子,总共占的空间就是,确定那些线的表头节点和那些棋子代表的非零元节点。最后,我们用一个指针指向这个棋盘,这个指针就代表了这个稀疏矩阵-Crusaders is the form : Chain Simulation matrix rows (or out, This can be based on individual preferences to be), and then constructed on behalf of the chain out, Each line of the elements inserted into the node corresponding to the series. To book a few small depositors table first node, out of line and the first node table to merge together-- the reality is that a number of indicators provincial jurisdictions, if the number of rows and columns ranging, redundant data domain put this province has granted the use of the space. This little trick I did waste a half-day efforts, personal feeling, not merit, a lot of shortcomings,
    2022-03-13 05:45:31下载
    积分:1
  • 这是一个用于控制列表框的程序,可以很轻松的了解如何进行设置列表框及其用法...
    这是一个用于控制列表框的程序,可以很轻松的了解如何进行设置列表框及其用法-A program for controlling listbox,you could know how to set and use the listbox with it.
    2022-02-03 01:42:49下载
    积分:1
  • a language with the List, the List is a website
    一个用c语言实现的链表,链表是实现了一个同学录-a language with the List, the List is a website
    2022-02-04 23:14:21下载
    积分:1
  • 在10乘10的棋牌上进行八皇后排列,并输出排列情况和种类
    在10乘10的棋牌上进行八皇后排列,并输出排列情况和种类-10 x 10 8 Queens on a chess arranged and the arrangement of the output and variety of
    2023-08-20 01:45:03下载
    积分:1
  • Andrew Koenin成名之作.. 本书所揭示的知识,至少能够帮助你减少C代码和初级C++代码中90%的Bug 聆听大师教诲 掌握编程精髓......
    Andrew Koenin成名之作.. 本书所揭示的知识,至少能够帮助你减少C代码和初级C++代码中90%的Bug 聆听大师教诲 掌握编程精髓... -Andrew Koenin famous for .. The book of revealed knowledge, at least be able to help you reduce the C code and primary C++ Code 90 of the Bug programming to listen to master the essence of the teachings of master ...
    2022-01-25 20:54:33下载
    积分:1
  • Mytob.BSNotes super version (for win). Rar
    定时关机超强版(for win).rar-Mytob.BSNotes super version (for win). Rar
    2022-11-19 18:50:04下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载