Description: 计算机算法中著名的0_1背包问题:给定n种物品和一背包。物品i的重量是Wi,其价值为Vi,背包的容量是c,问应如何选择装入背包中的物品,使得装入背包中物品的总价值最大。-computer algorithm famous 0_1 knapsack problem : given n product and a backpack. I articles of the weight of Wi, the value of Vi and backpack is the capacity c, asked how to choose a backpack loaded the items, make backpack loaded with a total value of the largest. Platform: |
Size: 11264 |
Author:贾明明 |
Hits:
Description: 用遗传算法解0/1背包问题,背包问题是著名的NP完备类困难问题,此处给出解法。-Genetic Algorithm for 0/1 knapsack problem, knapsack problem is a well-known class of NP-complete problems. Solution is here. Platform: |
Size: 2048 |
Author:李博宁 |
Hits:
Description: 文件中包含一些常见的C++算法实例,包括数论算法、图论算法、背包问题、排序算法、高精度计算等一系列常见算法-Instance file contains some common c++ algorithm, including arithmetic algorithm, graph theory algorithm, knapsack problem, sorting algorithm, high accuracy calculation and a series of common algorithm Platform: |
Size: 130048 |
Author:追风 |
Hits: