woche12 > master: code py - assets

This commit is contained in:
RD 2022-06-20 16:49:46 +02:00
parent f1200dfc25
commit f6401f0dfc
2 changed files with 30 additions and 21 deletions

View File

@ -89,10 +89,8 @@
algorithm: BRANCH-AND-BOUND
max-cost: 10
items: [a, b, c, d, e]
costs:
[3, 4, 5, 2, 1]
values:
[8, 7, 8, 3, 2]
costs: [3, 4, 5, 2, 1]
values: [8, 7, 8, 3, 2]
- name: RUCKSACK
algorithm: BRANCH-AND-BOUND
max-cost: 460
@ -103,10 +101,8 @@
'Schokolade',
'Apfelringe',
]
costs:
[220, 80, 140, 90, 100]
values:
[100, 10, 70, 80, 100]
costs: [220, 80, 140, 90, 100]
values: [100, 10, 70, 80, 100]
- name: RUCKSACK
algorithm: BRANCH-AND-BOUND
max-cost: 90
@ -117,7 +113,16 @@
'Hirse',
'Sellerie',
]
costs:
[30, 10, 50, 10, 80]
values:
[17, 14, 17, 5, 25]
costs: [30, 10, 50, 10, 80]
values: [17, 14, 17, 5, 25]
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Beispiele für Seminarwoche 12
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- name: EUKLID
numbers:
- 2017
- 58
- name: POLLARD-RHO
number: 534767

View File

@ -26,13 +26,17 @@ options:
verbose:
- COSTS
- MOVES
# show: []
show:
# - ATOMS
- TREE
show: []
# show:
# - ATOMS
# - TREE
rucksack:
verbose: true
# show: []
show:
- ALL-WEIGHTS
- ALL-SUMS
verbose: *ref_verbose
show: []
# show:
# - ALL-WEIGHTS
# - ALL-SUMS
euklid:
verbose: *ref_verbose
pollard-rho:
verbose: *ref_verbose