From 99a194dfc87b50f139bc3c042b0c498519a61727 Mon Sep 17 00:00:00 2001 From: raj_mathe Date: Fri, 10 Jun 2022 16:53:16 +0200 Subject: [PATCH] =?UTF-8?q?master=20>=20master:=20code=20py=20-=20asset=20?= =?UTF-8?q?f=C3=BCr=20testf=C3=A4lle=20aufger=C3=A4umt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- code/python/assets/commands.yaml | 49 +++++++++++++++++++++----------- 1 file changed, 33 insertions(+), 16 deletions(-) diff --git a/code/python/assets/commands.yaml b/code/python/assets/commands.yaml index 589512f..9ff71d2 100644 --- a/code/python/assets/commands.yaml +++ b/code/python/assets/commands.yaml @@ -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 nodes: [a,b,c] edges: [[a, c], [c, a], [b, c]] - name: TARJAN nodes: [1, 2, 3, 4, 5, 6, 7, 8] edges: [ - [1, 2], - [1, 3], - [2, 4], - [2, 5], - [3, 5], - [3, 6], - [3, 8], - [4, 5], - [4, 7], - [5, 1], - [5, 8], - [6, 8], - [7, 8], - [8, 6], + [1, 2], + [1, 3], + [2, 4], + [2, 5], + [3, 5], + [3, 6], + [3, 8], + [4, 5], + [4, 7], + [5, 1], + [5, 8], + [6, 8], + [7, 8], + [8, 6], ] -## Beispiele für Seminarwoche 9 (Blatt 8) + +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +# Beispiele für Seminarwoche 9 (Blatt 8) +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + - name: TSP dist: &ref_dist [ [0, 7, 4, 3], @@ -32,7 +45,11 @@ - name: TSP dist: *ref_dist optimise: MAX + +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # Beispiele für Seminarwoche 10 (Blatt 9) +# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + - name: HIRSCHBERG word1: 'happily ever after' word2: 'apples'