2
0
Fork 0
mirror of https://github.com/MartinThoma/LaTeX-examples.git synced 2025-04-26 06:48:04 +02:00
This commit is contained in:
Martin Thoma 2019-08-16 20:06:26 +02:00
parent 7ef0c2b087
commit 795e5ac4f2
No known key found for this signature in database
GPG key ID: 94DD4FD95F98B113
3 changed files with 17 additions and 16 deletions

View file

@ -13,17 +13,18 @@
\begin{tikzpicture}
\node[draw,circle,minimum size=25pt,inner sep=0pt] (x) at (0,0) {$\Sigma$ $\varphi$};
\node[inputNode] (x0) at (-2, 1.5) {$\tiny x_0$};
\node[inputNode] (x1) at (-2, 0.75) {$\tiny x_1$};
\node[inputNode] (x2) at (-2, 0) {$\tiny x_2$};
\node[inputNode] (x3) at (-2, -0.75) {$\tiny x_3$};
\node[inputNode] (xn) at (-2, -1.75) {$\tiny x_n$};
\node[inputNode] (x0) at (-2, 1.5) {\color{red}$\tiny x_0$};
\node[inputNode] (x1) at (-2, 0.75) {\color{red}$\tiny x_1$};
\node[inputNode] (x2) at (-2, 0) {\color{red}$\tiny x_2$};
\node[inputNode] (x3) at (-2, -0.75) {\color{red}$\tiny x_3$};
\node[inputNode] (xn) at (-2, -1.75) {\color{red}$\tiny x_n$};
\draw[stateTransition] (x0) to[out=0,in=120] node [midway, sloped, above=-2] {$w_0$} (x);
\draw[stateTransition] (x1) to[out=0,in=150] node [midway, sloped, above=-2] {$w_1$} (x);
\draw[stateTransition] (x2) to[out=0,in=180] node [midway, sloped, above=-2] {$w_2$} (x);
\draw[stateTransition] (x3) to[out=0,in=210] node [midway, sloped, above=-2] {$w_3$} (x);
\draw[stateTransition] (xn) to[out=0,in=240] node [midway, sloped, above=-2] {$w_n$} (x);
\draw[stateTransition] (x0) to[out=0,in=120] node [midway, sloped, above=-2] {\color{green!40!black}$w_0$} (x);
\draw[stateTransition] (x1) to[out=0,in=150] node [midway, sloped, above=-2] {\color{green!40!black}$w_1$} (x);
\draw[stateTransition] (x2) to[out=0,in=180] node [midway, sloped, above=-2] {\color{green!40!black}$w_2$} (x);
\draw[stateTransition] (x3) to[out=0,in=210] node [midway, sloped, above=-2] {\color{green!40!black}$w_3$} (x);
\draw[stateTransition] (xn) to[out=0,in=240] node [midway, sloped, above=-2] {\color{green!40!black}$w_n$} (x);
\color{blue}
\draw[stateTransition] (x) -- (2,0) node [midway,above=-0.1cm] {};
\draw[dashed] (0,-0.43) -- (0,0.43);
\node (dots) at (-2, -1.15) {$\vdots$};