feat(Go-Tool): 添加求背包问题最优解三种方式(KnapsackOptimizationUtil.go)及其单测类,添加求背包问题最优解过程路径(KnapsackSearchAnswerUtil.go)及其单测类.添加背包问题的readme相关说明

This commit is contained in:
huangzj
2020-08-06 11:37:49 +08:00
parent 223baa60ba
commit c1f291ee79
11 changed files with 388 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
/*
* @Author : huangzj
* @Time : 2020/7/31 15:43
* @Description:背包道具
*/
package KnapsackOptimization
type BagItem struct {
Value int //道具价值
Weight int //道具重量
}