Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download

📚 The CoCalc Library - books, templates and other resources

132934 views
License: OTHER
1
\documentclass[varwidth=true, border=6pt]{standalone}
2
3
\usepackage{tikz}
4
\usetikzlibrary{shapes,snakes,shapes.geometric,positioning,decorations.text}
5
6
\begin{document}
7
\tikzstyle{arrow}=[bend left,->,very thick, line cap=round]
8
\begin{tikzpicture}[node distance=2cm]
9
\node[ellipse,draw,minimum width=80pt,minimum height=20pt,fill=gray!5] (a) {Agent};
10
\node[ellipse,draw,minimum width=80pt,minimum height=20pt,fill=gray!5,below of=a] (u) {Umwelt};
11
12
% Arrows
13
\draw[arrow,postaction={decorate,decoration={text along path,raise=0.08cm,text align=center,text={Aktion {$a_k$}}}}] (a.east) to node {} (u.east);
14
\draw[arrow] (u.west) to node [auto, align=left, text width=1.8cm] {Zustand $x_k$,\newline{}Kosten /\newline{}Belohnung $r_k$} (a.west);
15
\end{tikzpicture}
16
\end{document}
17
18