Du befindest dich hier: FSI Informatik » Prüfungsfragen und Altklausuren » Prüfungen im Bachelor-Studium (1. - 5. Semester) » aud » Forendiskussionen, bei Fragen bitte: (Übersicht)
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen der Seite angezeigt.
Beide Seiten, vorherige ÜberarbeitungVorherige Überarbeitung | |||
pruefungen:bachelor:aud:loesungws18 [14.07.2019 13:15] – Dbadtf_385 | pruefungen:bachelor:aud:loesungws18 [19.07.2019 12:42] (aktuell) – Formatierung ADTs dom | ||
---|---|---|---|
Zeile 204: | Zeile 204: | ||
=== a) === | === a) === | ||
- | //push4(ts, x, y) = Push(Push(Push(Push(ts, | + | < |
+ | push4(ts, x, y) = Push(Push(Push(Push(ts, | ||
+ | </ | ||
=== b) === | === b) === | ||
- | //paintHLine(c, | + | < |
+ | paintHLine(c, | ||
- | //... = c, falls n < = 0// | + | ... = c, falls n < = 0 |
- | //... = paintHLine(Paint(c, | + | ... = paintHLine(Paint(c, |
- | | + | </code> |
=== c) === | === c) === | ||
- | //getCol(New, x, y) = White// | + | < |
+ | getCol(New, x, y) = White | ||
- | //getCol(Paint(c, | + | getCol(Paint(c, |
- | //... = col, falls x = a und y = b// | + | ... = col, falls x = a und y = b |
- | + | ||
- | //... = getCol(c, x, y), sonst// | + | |
+ | ... = getCol(c, x, y), sonst | ||
+ | </ | ||
=== d) === | === d) === | ||
- | //floodH(c, | + | < |
- | + | floodH(c, | |
- | //floodH(c, Push(ts, x, y), oc, nc) = ...// | + | |
- | //... = floodH(Paint(c, x, y, nc), push4(ts, x, y), oc, nc), falls getCol(c, x, y) = oc// | + | floodH(c, |
- | //... = floodH(c, ts, oc, nc), sonst // | + | ... = floodH(Paint(c, x, y, nc), push4(ts, x, y), oc, nc), falls getCol(c, x, y) = oc |
+ | ... = floodH(c, ts, oc, nc), sonst | ||
+ | </ | ||
____________________________________________________________________ | ____________________________________________________________________ | ||
==== | ==== |