master > master: code-py - refactoring von config/models

- manche command-optionen wie verbosity nach config.yaml umgezogen.
This commit is contained in:
RD
2022-06-10 12:08:31 +02:00
parent 0523c68100
commit 97295b71cd
9 changed files with 87 additions and 64 deletions

View File

@@ -6,28 +6,24 @@
- [2, 5, 0, 5]
- [2, 7, 4, 0]
optimise: MIN
verbose: true
## Beispiele für Seminarwoche 10 (Blatt 9)
- &command_hirschberg
name: HIRSCHBERG
once: true
verbose:
- COSTS
- MOVES
# show:
# # - ATOMS
# - TREE
# Beispiele für Seminarwoche 10 (Blatt 9)
- name: HIRSCHBERG
word1: 'happily ever after'
word2: 'apples'
- <<: *command_hirschberg
word1: 'ANSTRENGEN'
word2: 'ANSPANNEN'
- <<: *command_hirschberg
word1: 'ACGAAG'
word2: 'AGAT'
- <<: *command_hirschberg
word1: 'happily ever, lol'
word2: 'apple'
- <<: *command_hirschberg
once: false
- name: HIRSCHBERG
word1: 'happily'
word2: 'applses'
once: false
- name: HIRSCHBERG
word1: 'happily ever, lol'
word2: 'apple'
once: false
- name: HIRSCHBERG
word1: 'ACGAAG'
word2: 'AGAT'
once: false
- name: HIRSCHBERG
word1: 'ANSTRENGEN'
word2: 'ANSPANNEN'
once: false

View File

@@ -5,4 +5,15 @@ info:
Ein Code-Projekt, das Algorithmen und Datenstrukturen aus dem Kurs
ADS2 an der Universität Leipzig (Sommersemester 2022)
implementiert.
options: {}
options:
tsp:
verbose: true
hirschberg:
penality-missmatch: 1
penality-gap: 1
verbose:
- COSTS
- MOVES
# show:
# # - ATOMS
# - TREE