The next line says if the weight of i is greater than a w, well then I know I can't put it in.
下一行说的是,如果i的重量比a,w大,好吧,我知道我不能把它放进去。
Item 1 has a weight of 3.
号物品重量是。
Of the weights and the values.
代表的是重量和价值。
Let's look at an example.
让我们假设重量是。
This is the weight still available.
这是剩下的重量。
v The weight, w, and v, these are the two vectors we've seen here.
重量是w和价值,这是我们看过的向量的两个值。
a w And the amount of weight available, a w, for available weight.
合适的重量的个数是,也就是available,weight的简写。
应用推荐