Compare commits

...

2 Commits

Author SHA1 Message Date
RD eca2219bee master > master: notes - img aktualisiert 2022-06-15 12:48:48 +02:00
RD 934c79ac2f master > master: code py - cleanup von assets 2022-06-15 12:44:34 +02:00
6 changed files with 15 additions and 6 deletions

View File

@ -75,20 +75,26 @@
# Beispiele für Vorlesung + Seminarwoche 11 (VL + Blatt 10) # Beispiele für Vorlesung + Seminarwoche 11 (VL + Blatt 10)
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- &rucksack_1 - name: RUCKSACK
name: RUCKSACK
algorithm: GREEDY algorithm: GREEDY
allow-fractional: false allow-fractional: true
# allow-fractional: false
max-cost: 10 max-cost: 10
items: [a, b, c, d, e] items: [a, b, c, d, e]
costs: costs:
[3, 4, 5, 2, 1] [3, 4, 5, 2, 1]
values: values:
[8, 7, 8, 3, 2] [8, 7, 8, 3, 2]
- <<: *rucksack_1 - name: RUCKSACK
allow-fractional: true
- <<: *rucksack_1
algorithm: BRANCH-AND-BOUND algorithm: BRANCH-AND-BOUND
allow-fractional: true
# allow-fractional: false
max-cost: 10
items: [a, b, c, d, e]
costs:
[3, 4, 5, 2, 1]
values:
[8, 7, 8, 3, 2]
- name: RUCKSACK - name: RUCKSACK
algorithm: BRANCH-AND-BOUND algorithm: BRANCH-AND-BOUND
max-cost: 460 max-cost: 460

View File

@ -22,14 +22,17 @@ options:
diagonal: 0 diagonal: 0
horizontal: 1 horizontal: 1
vertical: 2 vertical: 2
# verbose: []
verbose: verbose:
- COSTS - COSTS
- MOVES - MOVES
# show: []
show: show:
# - ATOMS # - ATOMS
- TREE - TREE
rucksack: rucksack:
verbose: true verbose: true
# show: []
show: show:
- ALL-WEIGHTS - ALL-WEIGHTS
- ALL-SUMS - ALL-SUMS

Binary file not shown.

Before

Width:  |  Height:  |  Size: 88 KiB

After

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 166 KiB

After

Width:  |  Height:  |  Size: 122 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 320 KiB

After

Width:  |  Height:  |  Size: 205 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 235 KiB

After

Width:  |  Height:  |  Size: 166 KiB