\setupoutput[pdftex] \mainlanguage[de] \useencoding[win] \usemodule[chart] \setupFLOWshapes[framecolor=sigma] \setupFLOWcharts[maxwidth=\textwidth] \setupFLOWlines[color=sigma] \startFLOWchart[programm][nx=4, ny=1] % lies Studieninformation ein \startFLOWcell \name{liesStudie} \location{1,1} \shape{action} \text{einlesen} \connection[rl]{Neueingabe} \stopFLOWcell % Neueingabe Patient \startFLOWcell \name{Neueingabe} \location{2,1} \shape{product} \text{neuen Patienten eingeben} \connection[rl]{Plausi} \stopFLOWcell % Plausibilitätsprüfung Patient \startFLOWcell \name{Plausi} \location{3,1} \shape{45} \text{plausibel?} \connection[tt]{Neueingabe} \label[t]{nein} \connection[rl]{liesPat} \label[r]{ja} \stopFLOWcell % lies Patientendaten ein \startFLOWcell \name{liesPat} \location{4,1} \shape{action} \text{einlesen} \stopFLOWcell \stopFLOWchart % % Teilstruktur: vergleiche Verluste % \startFLOWchart[vglverlust][nx=5, ny=1] % Iteration über Therapien \startFLOWcell \name{Schleife} \location{1,1} \shape{loop} \text{$k$ \"uber alle Therapiearme} \connection[rl]{Probe} \stopFLOWcell % probehalber Aufnahme \startFLOWcell \name{Probe} \location{2,1} \shape{action} \text{nimm Patienten probehalber in Arm $k$ auf} \connection[rl]{rechneVerlust} \stopFLOWcell % berechne Verlust \startFLOWcell \name{rechneVerlust} \location{3,1} \shape{action} \text{berechne Verlustfunktion f\"ur aktuelle Konstellation} \connection[rl]{exMin} \connection[tt]{Schleife} \stopFLOWcell % existiert Minimum? \startFLOWcell \name{exMin} \location{4,1} \shape{45} \text{f\"ur alle F\"alle Verluste gleich hoch?} \stopFLOWcell \stopFLOWchart % % Neuformulierung: Programmende % \startFLOWchart[ausgabe][nx=4, ny=1] % Gib Zuweisung bekannt \startFLOWcell \name{Ausgabe} \location{1,1} \shape{product} \text{Zeige zugewiesene Therapie an} \connection[rl]{Taste} \stopFLOWcell % Warte auf Tastendruck \startFLOWcell \name{Taste} \location{2,1} \shape{wait} \text{Wie weiter?} \connection[rl]{schreibPat} \connection[tt]{Ende} \label[r]{Tastendruck} \label[t]{Abbruch} \stopFLOWcell % Schreibe Patienteninfo raus \startFLOWcell \name{schreibPat} \location{3,1} \shape{action} \text{aktualisiere Patientendaten} \connection[rl]{Ende} \stopFLOWcell % Ende \startFLOWcell \name{Ende} \location{4,1} \shape{procedure} \text{Ende} \stopFLOWcell \stopFLOWchart \starttext \section{Eins} \FLOWchart[programm] \section[vglVerlust]{Zwei} \FLOWchart[vglverlust] \section{Drei} \FLOWchart[ausgabe] \stoptext