From 179526ce7a939ef4a9f2498d2cd779ec39b371e6 Mon Sep 17 00:00:00 2001 From: github-actions <${GITHUB_ACTOR}@users.noreply.github.com> Date: Tue, 18 Oct 2022 21:13:38 +0000 Subject: [PATCH] Documentation for ee9835378f925056c67beae7d479c2b39ac217e8 --- db/d16/0__1__knapsack_8cpp.html | 30 +++++++++---------- ...5edf30f336885e5b851f6b7199c6cd1_cgraph.map | 2 +- ...5edf30f336885e5b851f6b7199c6cd1_cgraph.md5 | 2 +- ...5edf30f336885e5b851f6b7199c6cd1_cgraph.svg | 2 +- ...8dca7b867074164d5f45b0f3851269d_cgraph.map | 2 +- ...8dca7b867074164d5f45b0f3851269d_cgraph.md5 | 2 +- ...8dca7b867074164d5f45b0f3851269d_cgraph.svg | 2 +- ...66f6b31b5ad750f1fe042a706a4e3d4_cgraph.map | 2 +- ...66f6b31b5ad750f1fe042a706a4e3d4_cgraph.md5 | 2 +- ...66f6b31b5ad750f1fe042a706a4e3d4_cgraph.svg | 2 +- 10 files changed, 24 insertions(+), 24 deletions(-) diff --git a/db/d16/0__1__knapsack_8cpp.html b/db/d16/0__1__knapsack_8cpp.html index 33ace1077..bfefccf6a 100644 --- a/db/d16/0__1__knapsack_8cpp.html +++ b/db/d16/0__1__knapsack_8cpp.html @@ -130,10 +130,10 @@ Namespaces Functions
Picking up all those items whose combined weight is below given capacity and calculating value of those picked items.Trying all possible combinations will yield the maximum knapsack value.
+Picking up all those items whose combined weight is below the given capacity and calculating the value of those picked items. Trying all possible combinations will yield the maximum knapsack value.
| n | size of the weight and value array |
| capacity | capacity of the carrying bag |
| weight | array representing weight of items |
| value | array representing value of items |
| weight | array representing the weight of items |
| value | array representing the value of items |
Function to test above algorithm.
+Function to test the above algorithm.