--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/PhdThesisRealOne/automata_view.tex Sun Mar 20 23:32:08 2022 +0000
@@ -0,0 +1,20 @@
+\documentclass{article}
+
+\usepackage{tikz}
+\usetikzlibrary{automata,positioning}
+\begin{document}
+\section{regular expression derivatives as NFA's}
+\begin{tikzpicture}[shorten >=1pt,node distance=2cm,on grid,auto]
+ \node[state,initial] (q_0) {$q_0$};
+ \node[state] (q_1) [above right=of q_0] {$q_1$};
+ \node[state] (q_2) [below right=of q_0] {$q_2$};
+ \node[state,accepting](q_3) [below right=of q_1] {$q_3$};
+ \path[->]
+ (q_0) edge node {0} (q_1)
+ edge node [swap] {1} (q_2)
+ (q_1) edge node {1} (q_3)
+ edge [loop above] node {0} ()
+ (q_2) edge node [swap] {0} (q_3)
+ edge [loop below] node {1} ();
+\end{tikzpicture}
+\end{document}
\ No newline at end of file