36 \end{frame} |
36 \end{frame} |
37 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
37 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
38 |
38 |
39 |
39 |
40 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
40 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
41 \begin{frame}[c] |
41 % \begin{frame}[c] |
42 \small |
42 % \small |
43 \mbox{}\\[5mm] |
43 % \mbox{}\\[5mm] |
44 %\begin{textblock}{10}(3,5) |
44 % %\begin{textblock}{10}(3,5) |
45 \begin{tikzpicture}[scale=1.5, |
45 % \begin{tikzpicture}[scale=1.5, |
46 node distance=1cm, |
46 % node distance=1cm, |
47 every node/.style={minimum size=7mm}] |
47 % every node/.style={minimum size=7mm}] |
48 \node (r1) {\bl{$r_1$}}; |
48 % \node (r1) {\bl{$r_1$}}; |
49 \node (r2) [right=of r1] {\bl{$r_2$}}; |
49 % \node (r2) [right=of r1] {\bl{$r_2$}}; |
50 \draw[->,line width=1mm] (r1) -- (r2) node[above,midway] {\bl{$der\,a$}}; |
50 % \draw[->,line width=1mm] (r1) -- (r2) node[above,midway] {\bl{$der\,a$}}; |
51 \node (r3) [right=of r2] {\bl{$r_3$}}; |
51 % \node (r3) [right=of r2] {\bl{$r_3$}}; |
52 \draw[->,line width=1mm] (r2) -- (r3) node[above,midway] {\bl{$der\,b$}}; |
52 % \draw[->,line width=1mm] (r2) -- (r3) node[above,midway] {\bl{$der\,b$}}; |
53 \node (r4) [right=of r3] {\bl{$r_4$}}; |
53 % \node (r4) [right=of r3] {\bl{$r_4$}}; |
54 \draw[->,line width=1mm] (r3) -- (r4) node[above,midway] {\bl{$der\,c$}}; |
54 % \draw[->,line width=1mm] (r3) -- (r4) node[above,midway] {\bl{$der\,c$}}; |
55 \draw (r4) node[anchor=west] {\;\raisebox{3mm}{\bl{$nullable$}}}; |
55 % \draw (r4) node[anchor=west] {\;\raisebox{3mm}{\bl{$nullable$}}}; |
56 \node (v4) [below=of r4] {\bl{$v_4$}}; |
56 % \node (v4) [below=of r4] {\bl{$v_4$}}; |
57 \draw[->,line width=1mm] (r4) -- (v4); |
57 % \draw[->,line width=1mm] (r4) -- (v4); |
58 \node (v3) [left=of v4] {\bl{$v_3$}}; |
58 % \node (v3) [left=of v4] {\bl{$v_3$}}; |
59 \draw[->,line width=1mm] (v4) -- (v3) node[below,midway] {\bl{$inj\,c$}}; |
59 % \draw[->,line width=1mm] (v4) -- (v3) node[below,midway] {\bl{$inj\,c$}}; |
60 \node (v2) [left=of v3] {\bl{$v_2$}}; |
60 % \node (v2) [left=of v3] {\bl{$v_2$}}; |
61 \draw[->,line width=1mm] (v3) -- (v2) node[below,midway] {\bl{$inj\,b$}}; |
61 % \draw[->,line width=1mm] (v3) -- (v2) node[below,midway] {\bl{$inj\,b$}}; |
62 \node (v1) [left=of v2] {\bl{$v_1$}}; |
62 % \node (v1) [left=of v2] {\bl{$v_1$}}; |
63 \draw[->,line width=1mm] (v2) -- (v1) node[below,midway] {\bl{$inj\,a$}}; |
63 % \draw[->,line width=1mm] (v2) -- (v1) node[below,midway] {\bl{$inj\,a$}}; |
64 \draw[->,line width=0.5mm] (r3) -- (v3); |
64 % \draw[->,line width=0.5mm] (r3) -- (v3); |
65 \draw[->,line width=0.5mm] (r2) -- (v2); |
65 % \draw[->,line width=0.5mm] (r2) -- (v2); |
66 \draw[->,line width=0.5mm] (r1) -- (v1); |
66 % \draw[->,line width=0.5mm] (r1) -- (v1); |
67 \draw (r4) node[anchor=north west] {\;\raisebox{-8mm}{\bl{$mkeps$}}}; |
67 % \draw (r4) node[anchor=north west] {\;\raisebox{-8mm}{\bl{$mkeps$}}}; |
68 \end{tikzpicture} |
68 % \end{tikzpicture} |
69 %\end{textblock} |
69 % %\end{textblock} |
70 |
70 |
71 \begin{center} |
71 % \begin{center} |
72 \begin{tabular}{l@{\hspace{1mm}}c@{\hspace{1mm}}l} |
72 % \begin{tabular}{l@{\hspace{1mm}}c@{\hspace{1mm}}l} |
73 \\[-10mm] |
73 % \\[-10mm] |
74 \bl{$inj\,(c)\,c\,Empty$} & \bl{$\dn$} & \bl{$Char\,c$}\\ |
74 % \bl{$inj\,(c)\,c\,Empty$} & \bl{$\dn$} & \bl{$Char\,c$}\\ |
75 \bl{$inj\,(r_1 + r_2)\,c\,Left(v)$} & \bl{$\dn$} & \bl{$Left(inj\,r_1\,c\,v)$}\\ |
75 % \bl{$inj\,(r_1 + r_2)\,c\,Left(v)$} & \bl{$\dn$} & \bl{$Left(inj\,r_1\,c\,v)$}\\ |
76 \bl{$inj\,(r_1 + r_2)\,c\,Right(v)$} & \bl{$\dn$} & \bl{$Right(inj\,r_2\,c\,v)$}\\ |
76 % \bl{$inj\,(r_1 + r_2)\,c\,Right(v)$} & \bl{$\dn$} & \bl{$Right(inj\,r_2\,c\,v)$}\\ |
77 \bl{$inj\,(r_1 \cdot r_2)\,c\,Seq(v_1,v_2)$} & \bl{$\dn$} & \bl{$Seq(inj\,r_1\,c\,v_1,v_2)$}\\ |
77 % \bl{$inj\,(r_1 \cdot r_2)\,c\,Seq(v_1,v_2)$} & \bl{$\dn$} & \bl{$Seq(inj\,r_1\,c\,v_1,v_2)$}\\ |
78 \bl{$inj\,(r_1 \cdot r_2)\,c\,Left(Seq(v_1,v_2))$} & \bl{$\dn$} & \bl{$Seq(inj\,r_1\,c\,v_1,v_2)$}\\ |
78 % \bl{$inj\,(r_1 \cdot r_2)\,c\,Left(Seq(v_1,v_2))$} & \bl{$\dn$} & \bl{$Seq(inj\,r_1\,c\,v_1,v_2)$}\\ |
79 \bl{$inj\,(r_1 \cdot r_2)\,c\,Right(v)$} & \bl{$\dn$} & \bl{$Seq(mkeps(r_1),inj\,r_2\,c\,v)$}\\ |
79 % \bl{$inj\,(r_1 \cdot r_2)\,c\,Right(v)$} & \bl{$\dn$} & \bl{$Seq(mkeps(r_1),inj\,r_2\,c\,v)$}\\ |
80 \bl{$inj\,(r^*)\,c\,Seq(v,vs)$} & \bl{$\dn$} & \bl{$inj\,r\,c\,v\,::\,vs$}\\ |
80 % \bl{$inj\,(r^*)\,c\,Seq(v,vs)$} & \bl{$\dn$} & \bl{$inj\,r\,c\,v\,::\,vs$}\\ |
81 \end{tabular} |
81 % \end{tabular} |
82 \end{center} |
82 % \end{center} |
83 |
83 |
84 \end{frame} |
84 % \end{frame} |
85 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
85 % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
86 |
86 |
87 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
87 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
88 \begin{frame}[c] |
88 \begin{frame}[c] |
89 \frametitle{\begin{tabular}{c}Hierarchy of Languages\end{tabular}} |
89 \frametitle{\begin{tabular}{c}Hierarchy of Languages\end{tabular}} |
90 |
90 |