登录
首页 » Java » Knapsack

Knapsack

于 2015-12-13 发布 文件大小:8KB
0 236
下载积分: 1 下载次数: 1

代码说明:

  01背包问题的java实现,使用了树结构,比较器(Java 01 knapsack problem of implementation, using a tree structure, the comparator)

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

发表评论

0 个回复

  • 库环境的建立 1. 创建MyDatabase.gdb文件。 2. 用SYSDBA用户登录。 3. 在ISQL窗口中,依次输入本书提供的SQL语句;或者在...
    数据库环境的建立 1. 创建MyDatabase.gdb数据文件。 2. 用SYSDBA用户登录。 3. 在ISQL窗口中,依次输入本书提供的SQL语句;或者在SQL Explorer窗口中,根据表3-1至表3-10创建数据表。(通过直接注册附带光盘所提供的MyDatabase.GDB数据库文件,可以直接获得这些数据表。) 4. 在SQL Explorer窗口中,创建MyDB数据库连接。 5. 输入初始数据。除了表3-11至表3-13的内容,还需要根据需要设定院系编号、班级号和计数器。-database environment of a building. MyDatabase.gdb create data files. 2. With SYSDBA user login. 3. ISQLSQLSQL Explorer3-13-10 MyDatabase.GDB 4. SQL ExplorerMyDB 5. Initial data input.3-113-13
    2022-07-11 09:02:47下载
    积分:1
  • DES algorithms library,很经典的DES算法库。
    DES algorithms library,很经典的DES算法库。-DES algorithms library, the classic DES algorithm library.
    2022-08-19 04:42:55下载
    积分:1
  • float型而二叉树的创建及遍历
    #include #include struct BiTNode           //定义二叉树结构体 {   float data;   struct BiTNode *lchild;   struct BiTNode *rchild; }; //二叉树创建函数 struct BiTNode *CreateTree(float *preorder,float *inorder,int lenth) {     float *p,*q;      
    2022-12-24 11:10:03下载
    积分:1
  • kruscal_Primspanningtree
    最小生成树两种经典算法,kruscal和Prim算法(spanning tree)
    2010-07-14 10:10:54下载
    积分:1
  • 顺序法解表达式
    数据结构顺序法解表达式-sequence data structure Solving expression
    2023-09-01 11:35:03下载
    积分:1
  • 用来输入姓名查询地址
    用来输入姓名查询地址-used to input the names address inquiries
    2023-05-13 06:20:02下载
    积分:1
  • 大型 作业3.1输入一个列L,生成一棵二叉排序树T;3.2对二叉排序树T作中序遍历,输出果;3.3计算二叉排序树T的平均查找长度, 输出果...
    数 据 结 构 大型 作业3.1输入一个数列L,生成一棵二叉排序树T;3.2对二叉排序树T作中序遍历,输出结果;3.3计算二叉排序树T的平均查找长度, 输出结果;3.4判断二叉排序树T是否为平衡二叉树,输出信息“OK!”/“NO!”;3.5再使用上述数列L,生成平衡的二叉排序树BT,每当插入新元素,发现当前的二叉排序树BT不是平衡的二叉排序树,则立即将它转换成新的平衡的二叉排序树BT;3.6计算平衡的二叉排序树BT的平均查找长度,输出结果。3.6分析对比未平衡化的二叉排序树和平衡的二叉排序树的查找效率(最好、最坏平均比较关键字数)-data structure large operations into a 3.1 L series, generating a binary tree Sort T; 3.2 pair of two fork-tree T for medium preorder, output results; 3.3 Ranking calculation Binary Tree Search T"s average length of the output; 3. four judgment ordering two trees T fork whether balanced binary tree, the output message "OK!"/"NO!" ; again using the 3.5 series L, generate balanced binary tree sort BT, whenever insert a new element, found the current binary sort tree is not-BT Value of two binary sort tree, it will be immediately converted into the new balance of the two fork-tree BT; 3.6 Calculation balanced binary tree sort BT search length of the average output results. 3.6 Comparative Analysis of
    2022-04-09 01:41:30下载
    积分:1
  • 使用库的VC编程实现,一个简单的DEMO
    使用数据库的VC编程实现,一个简单的DEMO-use of the VC database programming, a simple DEMO
    2023-09-01 01:05:03下载
    积分:1
  • mainly uses the page frames and tables which some tips worth studying :) include...
    主要使用的页面框架和表格里面有一些值得学习的提示:)包括即时查询和模糊屏幕,内存窗口,表格中显示的整理宽而纯的代码,不是OCX控件类,是使用VFP8的初学者,包括所有VFP8源码和安装制作(txdq安装制作)。VCT),您应该相应地更改生产使用工具的安装路径
    2022-01-25 22:39:22下载
    积分:1
  • C++的用法 适合对C++语意思有一定了解的人
    C++数据结构的用法 适合对C++语意思有一定了解的人-C data structure suitable for the use of C language meaning a certain understanding of
    2022-02-10 05:56:18下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载