master > master: code py - asset für testfälle aufgeräumt

This commit is contained in:
RD 2022-06-10 16:53:16 +02:00
parent 670fd1b73e
commit 99a194dfc8
1 changed files with 33 additions and 16 deletions

View File

@ -1,26 +1,39 @@
## Beispiele für Seminarwoche 2 (Blatt 1) # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# NOTE:
# Diese Datei enthält Angaben für konkrete Fälle
# für die zu demonstrierenden Algorithmen.
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Beispiele für Seminarwoche 2 (Blatt 1)
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- name: TARJAN - name: TARJAN
nodes: [a,b,c] nodes: [a,b,c]
edges: [[a, c], [c, a], [b, c]] edges: [[a, c], [c, a], [b, c]]
- name: TARJAN - name: TARJAN
nodes: [1, 2, 3, 4, 5, 6, 7, 8] nodes: [1, 2, 3, 4, 5, 6, 7, 8]
edges: [ edges: [
[1, 2], [1, 2],
[1, 3], [1, 3],
[2, 4], [2, 4],
[2, 5], [2, 5],
[3, 5], [3, 5],
[3, 6], [3, 6],
[3, 8], [3, 8],
[4, 5], [4, 5],
[4, 7], [4, 7],
[5, 1], [5, 1],
[5, 8], [5, 8],
[6, 8], [6, 8],
[7, 8], [7, 8],
[8, 6], [8, 6],
] ]
## Beispiele für Seminarwoche 9 (Blatt 8)
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Beispiele für Seminarwoche 9 (Blatt 8)
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- name: TSP - name: TSP
dist: &ref_dist [ dist: &ref_dist [
[0, 7, 4, 3], [0, 7, 4, 3],
@ -32,7 +45,11 @@
- name: TSP - name: TSP
dist: *ref_dist dist: *ref_dist
optimise: MAX optimise: MAX
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Beispiele für Seminarwoche 10 (Blatt 9) # Beispiele für Seminarwoche 10 (Blatt 9)
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- name: HIRSCHBERG - name: HIRSCHBERG
word1: 'happily ever after' word1: 'happily ever after'
word2: 'apples' word2: 'apples'