slides/slides05.tex
author Christian Urban <christian dot urban at kcl dot ac dot uk>
Wed, 23 Oct 2013 07:28:23 +0100
changeset 150 a2d792ed768e
parent 149 b728c9dbf120
child 151 df229ec49b22
permissions -rw-r--r--
added
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
44
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     1
\documentclass[dvipsnames,14pt,t]{beamer}
147
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
     2
\usepackage{beamerthemeplaincu}
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
     3
%\usepackage[T1]{fontenc}
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
     4
%\usepackage[latin1]{inputenc}
44
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     5
\usepackage{mathpartir}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     6
\usepackage[absolute,overlay]{textpos}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     7
\usepackage{ifthen}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     8
\usepackage{tikz}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     9
\usepackage{pgf}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    10
\usepackage{calc} 
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    11
\usepackage{ulem}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    12
\usepackage{courier}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    13
\usepackage{listings}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    14
\renewcommand{\uline}[1]{#1}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    15
\usetikzlibrary{arrows}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    16
\usetikzlibrary{automata}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    17
\usetikzlibrary{shapes}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    18
\usetikzlibrary{shadows}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    19
\usetikzlibrary{positioning}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    20
\usetikzlibrary{calc}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    21
\usepackage{graphicx} 
148
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
    22
\usepackage{pgfplots}
44
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    23
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    24
\definecolor{javared}{rgb}{0.6,0,0} % for strings
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    25
\definecolor{javagreen}{rgb}{0.25,0.5,0.35} % comments
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    26
\definecolor{javapurple}{rgb}{0.5,0,0.35} % keywords
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    27
\definecolor{javadocblue}{rgb}{0.25,0.35,0.75} % javadoc
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    28
147
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
    29
\makeatletter
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
    30
\lst@CCPutMacro\lst@ProcessOther {"2D}{\lst@ttfamily{-{}}{-{}}}
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
    31
\@empty\z@\@empty
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
    32
\makeatother
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
    33
44
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    34
\lstset{language=Java,
147
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
    35
	basicstyle=\consolas,
44
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    36
	keywordstyle=\color{javapurple}\bfseries,
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    37
	stringstyle=\color{javagreen},
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    38
	commentstyle=\color{javagreen},
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    39
	morecomment=[s][\color{javadocblue}]{/**}{*/},
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    40
	numbers=left,
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    41
	numberstyle=\tiny\color{black},
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    42
	stepnumber=1,
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    43
	numbersep=10pt,
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    44
	tabsize=2,
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    45
	showspaces=false,
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    46
	showstringspaces=false}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    47
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    48
\lstdefinelanguage{scala}{
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    49
  morekeywords={abstract,case,catch,class,def,%
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    50
    do,else,extends,false,final,finally,%
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    51
    for,if,implicit,import,match,mixin,%
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    52
    new,null,object,override,package,%
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    53
    private,protected,requires,return,sealed,%
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    54
    super,this,throw,trait,true,try,%
147
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
    55
    type,val,var,while,with,yield, then},
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
    56
  otherkeywords={=>,<-,<\%,<:,>:,\#,@,->},
44
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    57
  sensitive=true,
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    58
  morecomment=[l]{//},
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    59
  morecomment=[n]{/*}{*/},
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    60
  morestring=[b]",
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    61
  morestring=[b]',
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    62
  morestring=[b]"""
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    63
}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    64
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    65
\lstset{language=Scala,
147
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
    66
	basicstyle=\consolas,
44
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    67
	keywordstyle=\color{javapurple}\bfseries,
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    68
	stringstyle=\color{javagreen},
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    69
	commentstyle=\color{javagreen},
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    70
	morecomment=[s][\color{javadocblue}]{/**}{*/},
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    71
	numbers=left,
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    72
	numberstyle=\tiny\color{black},
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    73
	stepnumber=1,
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    74
	numbersep=10pt,
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    75
	tabsize=2,
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    76
	showspaces=false,
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    77
	showstringspaces=false}
147
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
    78
	
148
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
    79
\begin{filecontents}{interpreted2.data}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
    80
%1 0.00503
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
    81
200 1.005863
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
    82
400 7.8296765
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
    83
600 27.2321885
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
    84
800 65.249271
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
    85
1000 135.4493445
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
    86
1200 232.134097
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
    87
1400 382.527227
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
    88
\end{filecontents}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
    89
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
    90
\begin{filecontents}{compiled2.data}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
    91
200 0.222058
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
    92
400 0.215204
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
    93
600 0.202031
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
    94
800 0.21986
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
    95
1000 0.205934
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
    96
1200 0.1981615
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
    97
1400 0.207116
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
    98
\end{filecontents}
44
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    99
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   100
% beamer stuff 
147
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   101
\renewcommand{\slidecaption}{AFL 05, King's College London, 23.~October 2013}
44
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   102
\newcommand{\bl}[1]{\textcolor{blue}{#1}}       
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   103
\newcommand{\dn}{\stackrel{\mbox{\scriptsize def}}{=}}% for definitions
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   104
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   105
\begin{document}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   106
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   107
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   108
\mode<presentation>{
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   109
\begin{frame}<1>[t]
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   110
\frametitle{%
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   111
  \begin{tabular}{@ {}c@ {}}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   112
  \\[-3mm]
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   113
  \LARGE Automata and \\[-2mm] 
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   114
  \LARGE Formal Languages (5)\\[3mm] 
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   115
  \end{tabular}}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   116
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   117
  \normalsize
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   118
  \begin{center}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   119
  \begin{tabular}{ll}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   120
  Email:  & christian.urban at kcl.ac.uk\\
147
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   121
  Office: & S1.27 (1st floor Strand Building)\\
44
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   122
  Slides: & KEATS (also home work is there)\\
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   123
  \end{tabular}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   124
  \end{center}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   125
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   126
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   127
\end{frame}}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   128
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   129
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   130
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   131
\mode<presentation>{
147
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   132
\begin{frame}[c]
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   133
\frametitle{DFA Minimisation}
44
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   134
147
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   135
\begin{enumerate}
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   136
\item Take all pairs \bl{$(q, p)$} with \bl{$q \not= p$}
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   137
\item Mark all pairs that accepting and non-accepting states
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   138
\item For  all unmarked pairs \bl{$(q, p)$} and all characters \bl{$c$} tests wether
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   139
\begin{center}
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   140
\bl{$(\delta(q, c), \delta(p,c))$}
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   141
\end{center} 
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   142
are marked. If yes, then also mark \bl{$(q, p)$}.
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   143
\item Repeat last step until no chance.
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   144
\item All unmarked pairs can be merged.
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   145
\end{enumerate}
44
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   146
147
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   147
\end{frame}}
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   148
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   149
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   150
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   151
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   152
\mode<presentation>{
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   153
\begin{frame}<1-2>[c]
44
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   154
147
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   155
\begin{center}
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   156
\begin{tikzpicture}[>=stealth',very thick,auto,
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   157
                             every state/.style={minimum size=0pt,inner sep=2pt,draw=blue!50,very thick,fill=blue!20},]
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   158
\node[state,initial]  (q_0)  {$q_0$};
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   159
\node[state] (q_1) [right=of q_0] {$q_1$};
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   160
\node[state] (q_2) [below right=of q_0] {$q_2$};
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   161
\node[state] (q_3) [right=of q_2] {$q_3$};
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   162
\node[state, accepting] (q_4) [right=of q_1] {$q_4$};
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   163
\path[->] (q_0) edge node [above]  {\alert{$a$}} (q_1);
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   164
\path[->] (q_1) edge node [above]  {\alert{$a$}} (q_4);
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   165
\path[->] (q_4) edge [loop right] node  {\alert{$a, b$}} ();
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   166
\path[->] (q_3) edge node [right]  {\alert{$a$}} (q_4);
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   167
\path[->] (q_2) edge node [above]  {\alert{$a$}} (q_3);
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   168
\path[->] (q_1) edge node [right]  {\alert{$b$}} (q_2);
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   169
\path[->] (q_0) edge node [above]  {\alert{$b$}} (q_2);
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   170
\path[->] (q_2) edge [loop left] node  {\alert{$b$}} ();
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   171
\path[->] (q_3) edge [bend left=95, looseness=1.3] node [below]  {\alert{$b$}} (q_0);
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   172
\end{tikzpicture}
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   173
\end{center}
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   174
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   175
\mbox{}\\[-20mm]\mbox{}
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   176
44
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   177
\begin{center}
147
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   178
\begin{tikzpicture}[scale=0.8,line width=0.8mm]
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   179
\draw (0,0) -- (4,0);
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   180
\draw (0,1) -- (4,1);
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   181
\draw (0,2) -- (3,2);
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   182
\draw (0,3) -- (2,3);
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   183
\draw (0,4) -- (1,4);
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   184
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   185
\draw (0,0) -- (0, 4);
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   186
\draw (1,0) -- (1, 4);
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   187
\draw (2,0) -- (2, 3);
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   188
\draw (3,0) -- (3, 2);
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   189
\draw (4,0) -- (4, 1);
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   190
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   191
\draw (0.5,-0.5) node {$q_0$}; 
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   192
\draw (1.5,-0.5) node {$q_1$}; 
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   193
\draw (2.5,-0.5) node {$q_2$}; 
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   194
\draw (3.5,-0.5) node {$q_3$};
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   195
 
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   196
\draw (-0.5, 3.5) node {$q_1$}; 
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   197
\draw (-0.5, 2.5) node {$q_2$}; 
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   198
\draw (-0.5, 1.5) node {$q_3$}; 
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   199
\draw (-0.5, 0.5) node {$q_4$}; 
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   200
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   201
\draw (0.5,0.5) node {\large$\star$}; 
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   202
\draw (1.5,0.5) node {\large$\star$}; 
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   203
\draw (2.5,0.5) node {\large$\star$}; 
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   204
\draw (3.5,0.5) node {\large$\star$};
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   205
\end{tikzpicture}\\
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   206
\end{center}
44
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   207
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   208
\end{frame}}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   209
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   210
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   211
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   212
\mode<presentation>{
147
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   213
\begin{frame}<1-2>[c]
44
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   214
147
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   215
\begin{center}
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   216
\begin{tabular}{@{\hspace{-8mm}}cc@{}}
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   217
\begin{tikzpicture}[>=stealth',very thick,auto,
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   218
                             every state/.style={minimum size=0pt,inner sep=2pt,draw=blue!50,very thick,fill=blue!20},]
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   219
\node[state,initial]  (q_0)  {$q_0$};
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   220
\node[state] (q_1) [right=of q_0] {$q_1$};
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   221
\node[state] (q_2) [below right=of q_0] {$q_2$};
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   222
\node[state] (q_3) [right=of q_2] {$q_3$};
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   223
\node[state, accepting] (q_4) [right=of q_1] {$q_4$};
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   224
\path[->] (q_0) edge node [above]  {\alert{$a$}} (q_1);
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   225
\path[->] (q_1) edge node [above]  {\alert{$a$}} (q_4);
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   226
\path[->] (q_4) edge [loop right] node  {\alert{$a, b$}} ();
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   227
\path[->] (q_3) edge node [right]  {\alert{$a$}} (q_4);
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   228
\path[->] (q_2) edge node [above]  {\alert{$a$}} (q_3);
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   229
\path[->] (q_1) edge node [right]  {\alert{$b$}} (q_2);
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   230
\path[->] (q_0) edge node [above]  {\alert{$b$}} (q_2);
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   231
\path[->] (q_2) edge [loop left] node  {\alert{$b$}} ();
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   232
\path[->] (q_3) edge [bend left=95, looseness=1.3] node [below]  {\alert{$b$}} (q_0);
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   233
\end{tikzpicture}
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   234
&
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   235
\raisebox{9mm}{\begin{tikzpicture}[scale=0.6,line width=0.8mm]
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   236
\draw (0,0) -- (4,0);
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   237
\draw (0,1) -- (4,1);
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   238
\draw (0,2) -- (3,2);
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   239
\draw (0,3) -- (2,3);
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   240
\draw (0,4) -- (1,4);
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   241
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   242
\draw (0,0) -- (0, 4);
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   243
\draw (1,0) -- (1, 4);
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   244
\draw (2,0) -- (2, 3);
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   245
\draw (3,0) -- (3, 2);
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   246
\draw (4,0) -- (4, 1);
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   247
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   248
\draw (0.5,-0.5) node {$q_0$}; 
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   249
\draw (1.5,-0.5) node {$q_1$}; 
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   250
\draw (2.5,-0.5) node {$q_2$}; 
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   251
\draw (3.5,-0.5) node {$q_3$};
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   252
 
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   253
\draw (-0.5, 3.5) node {$q_1$}; 
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   254
\draw (-0.5, 2.5) node {$q_2$}; 
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   255
\draw (-0.5, 1.5) node {$q_3$}; 
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   256
\draw (-0.5, 0.5) node {$q_4$}; 
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   257
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   258
\draw (0.5,0.5) node {\large$\star$}; 
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   259
\draw (1.5,0.5) node {\large$\star$}; 
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   260
\draw (2.5,0.5) node {\large$\star$}; 
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   261
\draw (3.5,0.5) node {\large$\star$};
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   262
\draw (0.5,1.5) node {\large$\star$}; 
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   263
\draw (2.5,1.5) node {\large$\star$}; 
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   264
\draw (0.5,3.5) node {\large$\star$}; 
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   265
\draw (1.5,2.5) node {\large$\star$}; 
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   266
\end{tikzpicture}}
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   267
\end{tabular}
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   268
\end{center}
44
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   269
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   270
147
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   271
\mbox{}\\[-20mm]\mbox{}
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   272
44
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   273
\begin{center}
147
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   274
\begin{tikzpicture}[>=stealth',very thick,auto,
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   275
                             every state/.style={minimum size=0pt,inner sep=2pt,draw=blue!50,very thick,fill=blue!20},]
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   276
\node[state,initial]  (q_02)  {$q_{0, 2}$};
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   277
\node[state] (q_13) [right=of q_02] {$q_{1, 3}$};
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   278
\node[state, accepting] (q_4) [right=of q_13] {$q_{4\phantom{,0}}$};
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   279
\path[->] (q_02) edge [bend left] node [above]  {\alert{$a$}} (q_13);
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   280
\path[->] (q_13) edge [bend left] node [below]  {\alert{$b$}} (q_02);
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   281
\path[->] (q_02) edge [loop below] node  {\alert{$b$}} ();
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   282
\path[->] (q_13) edge node [above]  {\alert{$a$}} (q_4);
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   283
\path[->] (q_4) edge [loop above] node  {\alert{$a, b$}} ();
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   284
\end{tikzpicture}\\
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   285
minimal automaton
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   286
\end{center}
44
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   287
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   288
\end{frame}}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   289
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   290
147
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   291
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   292
44
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   293
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   294
\mode<presentation>{
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   295
\begin{frame}[c]
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   296
147
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   297
\begin{center}
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   298
\begin{tikzpicture}[>=stealth',very thick,auto,
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   299
                             every state/.style={minimum size=0pt,inner sep=2pt,draw=blue!50,very thick,fill=blue!20},]
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   300
\only<1>{\node[state,initial]  (q_0)  {$q_0$};}
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   301
\only<2->{\node[state,accepting]  (q_0)  {$q_0$};}
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   302
\node[state] (q_1) [right=of q_0] {$q_1$};
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   303
\node[state] (q_2) [below right=of q_0] {$q_2$};
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   304
\node[state] (q_3) [right=of q_2] {$q_3$};
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   305
\only<1>{\node[state, accepting] (q_4) [right=of q_1] {$q_4$};}
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   306
\only<2->{\node[state, initial right] (q_4) [right=of q_1] {$q_4$};}
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   307
\only<1-2>{
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   308
\path[->] (q_0) edge node [above]  {\alert{$a$}} (q_1);
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   309
\path[->] (q_1) edge node [above]  {\alert{$a$}} (q_4);
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   310
\path[->] (q_4) edge [loop above] node  {\alert{$a, b$}} ();
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   311
\path[->] (q_3) edge node [right]  {\alert{$a$}} (q_4);
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   312
\path[->] (q_2) edge node [above]  {\alert{$a$}} (q_3);
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   313
\path[->] (q_1) edge node [right]  {\alert{$b$}} (q_2);
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   314
\path[->] (q_0) edge node [above]  {\alert{$b$}} (q_2);
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   315
\path[->] (q_2) edge [loop left] node  {\alert{$b$}} ();
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   316
\path[->] (q_3) edge [bend left=95, looseness=1.3] node [below]  {\alert{$b$}} (q_0);}
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   317
\only<3->{
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   318
\path[<-] (q_0) edge node [above]  {\alert{$a$}} (q_1);
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   319
\path[<-] (q_1) edge node [above]  {\alert{$a$}} (q_4);
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   320
\path[<-] (q_4) edge [loop above] node  {\alert{$a, b$}} ();
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   321
\path[<-] (q_3) edge node [right]  {\alert{$a$}} (q_4);
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   322
\path[<-] (q_2) edge node [above]  {\alert{$a$}} (q_3);
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   323
\path[<-] (q_1) edge node [right]  {\alert{$b$}} (q_2);
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   324
\path[<-] (q_0) edge node [above]  {\alert{$b$}} (q_2);
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   325
\path[<-] (q_2) edge [loop left] node  {\alert{$b$}} ();
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   326
\path[<-] (q_3) edge [bend left=95, looseness=1.3] node [below]  {\alert{$b$}} (q_0);}
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   327
\end{tikzpicture}
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   328
\end{center}
44
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   329
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   330
\begin{itemize}
147
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   331
\item<2-> exchange initial / accepting states
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   332
\item<3-> reverse all edges
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   333
\item<4-> subset construction $\Rightarrow$ DFA
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   334
\item<5-> repeat once more \onslide<6->{$\Rightarrow$ minimal DFA}
44
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   335
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   336
\end{itemize}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   337
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   338
\end{frame}}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   339
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   340
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   341
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   342
\mode<presentation>{
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   343
\begin{frame}[c]
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   344
147
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   345
\texttt{\consolas\lstinputlisting{../progs/fib.while}}
44
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   346
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   347
\end{frame}}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   348
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   349
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   350
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   351
\mode<presentation>{
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   352
\begin{frame}[c]
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   353
147
4725bba8ef26 added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 93
diff changeset
   354
\texttt{\consolas\lstinputlisting{../progs/collatz.while}}
44
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   355
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   356
\end{frame}}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   357
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   358
46
Christian Urban <urbanc@in.tum.de>
parents: 44
diff changeset
   359
148
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   360
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   361
\mode<presentation>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   362
\begin{frame}[c]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   363
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   364
\texttt{\consolas\lstinputlisting{../progs/loops.while}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   365
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   366
\begin{textblock}{6}(10,2)
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   367
\begin{tikzpicture}[scale=0.46]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   368
\begin{axis}[axis x line=bottom, axis y line=left, ylabel=secs,
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   369
    xlabel=n,
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   370
    enlargelimits=0.05,
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   371
    ybar interval=0.7, legend style=small]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   372
\addplot file {interpreted2.data};
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   373
\addplot file {compiled2.data};
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   374
%\legend{interpreted, compiled}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   375
\end{axis}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   376
\end{tikzpicture}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   377
\end{textblock}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   378
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   379
\end{frame}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   380
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
150
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 149
diff changeset
   381
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 149
diff changeset
   382
\mode<presentation>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 149
diff changeset
   383
\begin{frame}[c]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 149
diff changeset
   384
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 149
diff changeset
   385
\begin{tikzpicture}[scale=1]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 149
diff changeset
   386
  
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 149
diff changeset
   387
  \draw[line width=1mm] (-.3, 0) rectangle (1.5,2);
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 149
diff changeset
   388
  \draw (4.2,1) node {Code Gen};
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 149
diff changeset
   389
  \draw (0.6,1.7) node {\footnotesize Parser};
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 149
diff changeset
   390
  \draw (-2.7,1.7) node {\footnotesize Lexer};
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 149
diff changeset
   391
  
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 149
diff changeset
   392
  \draw[line width=1mm] (-1.8, 0) rectangle (-3.6,2);
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 149
diff changeset
   393
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 149
diff changeset
   394
  \draw[white] (1.7,1) node (X) {};
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 149
diff changeset
   395
  \draw[white] (3.2,1) node (Y) {};
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 149
diff changeset
   396
  \draw[red, ->, line width = 2mm] (X) -- (Y);
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 149
diff changeset
   397
 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 149
diff changeset
   398
  \draw[red, <-, line width = 2mm] (-0.6,1) -- (-1.6,1);
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 149
diff changeset
   399
  \draw[red, <-, line width = 2mm] (-3.8,1) -- (-4.8,1);
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 149
diff changeset
   400
\end{tikzpicture}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 149
diff changeset
   401
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 149
diff changeset
   402
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 149
diff changeset
   403
\end{frame}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 149
diff changeset
   404
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
148
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   405
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   406
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   407
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   408
\mode<presentation>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   409
\begin{frame}[t]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   410
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   411
\consolas
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   412
\begin{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   413
"if true then then 42 else +"
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   414
\end{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   415
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   416
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   417
\begin{tabular}{@{}l}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   418
KEYWORD: \\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   419
\hspace{5mm}{if}, {then}, {else},\\ 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   420
WHITESPACE:\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   421
\hspace{5mm}{" "}, {$\backslash$n},\\ 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   422
IDENT:\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   423
\hspace{5mm}LETTER $\cdot$ (LETTER + DIGIT + {\_})$^*$\\ 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   424
NUM:\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   425
\hspace{5mm}(NONZERODIGIT $\cdot$ DIGIT$^*$) + {0}\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   426
OP:\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   427
\hspace{5mm}{+}\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   428
COMMENT:\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   429
\hspace{5mm}{$\slash$*} $\cdot$ (ALL$^*$ $\cdot$ {*$\slash$} $\cdot$ ALL$^*$) $\cdot$ {*$\slash$}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   430
\end{tabular}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   431
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   432
\end{frame}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   433
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   434
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   435
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   436
\mode<presentation>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   437
\begin{frame}[t]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   438
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   439
\consolas
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   440
\begin{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   441
"if true then then 42 else +"
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   442
\end{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   443
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   444
\only<1>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   445
\small\begin{tabular}{l}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   446
KEYWORD(if),\\ 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   447
WHITESPACE,\\ 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   448
IDENT(true),\\ 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   449
WHITESPACE,\\ 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   450
KEYWORD(then),\\ 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   451
WHITESPACE,\\ 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   452
KEYWORD(then),\\ 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   453
WHITESPACE,\\ 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   454
NUM(42),\\ 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   455
WHITESPACE,\\ 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   456
KEYWORD(else),\\ 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   457
WHITESPACE,\\ 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   458
OP(+)
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   459
\end{tabular}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   460
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   461
\only<2>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   462
\small\begin{tabular}{l}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   463
KEYWORD(if),\\ 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   464
IDENT(true),\\ 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   465
KEYWORD(then),\\ 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   466
KEYWORD(then),\\ 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   467
NUM(42),\\ 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   468
KEYWORD(else),\\ 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   469
OP(+)
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   470
\end{tabular}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   471
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   472
\end{frame}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   473
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   474
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   475
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   476
\mode<presentation>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   477
\begin{frame}[c]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   478
150
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 149
diff changeset
   479
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 149
diff changeset
   480
There is one small problem with the tokenizer. How should we 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 149
diff changeset
   481
tokenize:
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 149
diff changeset
   482
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 149
diff changeset
   483
\begin{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 149
diff changeset
   484
{\consolas "x - 3"}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 149
diff changeset
   485
\end{center}
149
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 148
diff changeset
   486
150
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 149
diff changeset
   487
\consolas
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 149
diff changeset
   488
\begin{tabular}{@{}l}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 149
diff changeset
   489
OP:\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 149
diff changeset
   490
\hspace{5mm}\texttt{"+"}, \texttt{"-"}\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 149
diff changeset
   491
NUM:\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 149
diff changeset
   492
\hspace{5mm}(NONZERODIGIT $\cdot$ DIGIT$^*$) + {''0''}\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 149
diff changeset
   493
NUMBER:\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 149
diff changeset
   494
\hspace{5mm}NUM +  (\texttt{"-"} $\cdot$ NUM)\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 149
diff changeset
   495
\end{tabular}
149
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 148
diff changeset
   496
148
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   497
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   498
\end{frame}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   499
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   500
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   501
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   502
\mode<presentation>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   503
\begin{frame}[c]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   504
\frametitle{\begin{tabular}{c}Two Rules\end{tabular}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   505
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   506
\begin{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   507
\item Longest match rule (``maximal munch rule''): The 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   508
longest initial substring matched by any regular expression is taken
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   509
as next token.\bigskip
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   510
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   511
\item Rule priority:
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   512
For a particular longest initial substring, the first regular
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   513
expression that can match determines the token.
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   514
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   515
\end{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   516
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   517
%\url{http://www.technologyreview.com/tr10/?year=2011}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   518
  
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   519
%finite deterministic automata/ nondeterministic automaton
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   520
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   521
%\item problem with infix operations, for example i-12
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   522
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   523
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   524
\end{frame}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 147
diff changeset
   525
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
149
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 148
diff changeset
   526
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 148
diff changeset
   527
\mode<presentation>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 148
diff changeset
   528
\begin{frame}[t]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 148
diff changeset
   529
\frametitle{\begin{tabular}{c}Nullable\end{tabular}}
46
Christian Urban <urbanc@in.tum.de>
parents: 44
diff changeset
   530
149
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 148
diff changeset
   531
\small
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 148
diff changeset
   532
\ldots{}whether a regular expression can match the empty string:
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 148
diff changeset
   533
\begin{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 148
diff changeset
   534
\begin{tabular}{@ {}l@ {\hspace{2mm}}c@ {\hspace{2mm}}l@ {}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 148
diff changeset
   535
\bl{$nullable(\varnothing)$}      & \bl{$\dn$} & \bl{$f\!\/alse$}\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 148
diff changeset
   536
\bl{$nullable(\epsilon)$}           & \bl{$\dn$} &  \bl{$true$}\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 148
diff changeset
   537
\bl{$nullable (c)$}                    & \bl{$\dn$} &  \bl{$f\!alse$}\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 148
diff changeset
   538
\bl{$nullable (r_1 + r_2)$}       & \bl{$\dn$} &  \bl{$nullable(r_1) \vee nullable(r_2)$} \\ 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 148
diff changeset
   539
\bl{$nullable (r_1 \cdot r_2)$} & \bl{$\dn$} &  \bl{$nullable(r_1) \wedge nullable(r_2)$} \\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 148
diff changeset
   540
\bl{$nullable (r^*)$}                 & \bl{$\dn$} & \bl{$true$} \\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 148
diff changeset
   541
\end{tabular}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 148
diff changeset
   542
\end{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 148
diff changeset
   543
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 148
diff changeset
   544
\end{frame}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 148
diff changeset
   545
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 148
diff changeset
   546
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 148
diff changeset
   547
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 148
diff changeset
   548
\mode<presentation>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 148
diff changeset
   549
\begin{frame}[c]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 148
diff changeset
   550
\frametitle{\begin{tabular}{c}Zeroable\end{tabular}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 148
diff changeset
   551
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 148
diff changeset
   552
\small
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 148
diff changeset
   553
\ldots{}whether a regular expression can match nothing:
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 148
diff changeset
   554
\begin{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 148
diff changeset
   555
\begin{tabular}{@ {}l@ {\hspace{2mm}}c@ {\hspace{2mm}}l@ {}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 148
diff changeset
   556
\bl{$zeroable(\varnothing)$}      & \bl{$\dn$} & \bl{$true$}\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 148
diff changeset
   557
\bl{$zeroable(\epsilon)$}           & \bl{$\dn$} &  \bl{$f\!alse$}\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 148
diff changeset
   558
\bl{$zeroable (c)$}                    & \bl{$\dn$} &  \bl{$f\!alse$}\\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 148
diff changeset
   559
\bl{$zeroable (r_1 + r_2)$}       & \bl{$\dn$} &  \bl{$zeroable(r_1) \wedge zeroable(r_2)$} \\ 
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 148
diff changeset
   560
\bl{$zeroable (r_1 \cdot r_2)$} & \bl{$\dn$} &  \bl{$zeroable(r_1) \vee zeroable(r_2)$} \\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 148
diff changeset
   561
\bl{$zeroable (r^*)$}                 & \bl{$\dn$} & \bl{$f\!alse$} \\
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 148
diff changeset
   562
\end{tabular}
150
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 149
diff changeset
   563
\end{center}\bigskip\pause
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 149
diff changeset
   564
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 149
diff changeset
   565
\begin{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 149
diff changeset
   566
\bl{$zeroable(r) \Leftrightarrow L(r) = \varnothing$}
149
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 148
diff changeset
   567
\end{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 148
diff changeset
   568
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 148
diff changeset
   569
\end{frame}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 148
diff changeset
   570
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
46
Christian Urban <urbanc@in.tum.de>
parents: 44
diff changeset
   571
150
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 149
diff changeset
   572
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 149
diff changeset
   573
\mode<presentation>{
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 149
diff changeset
   574
\begin{frame}[c]
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 149
diff changeset
   575
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 149
diff changeset
   576
\begin{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 149
diff changeset
   577
\item The star-case in our proof about the matcher needs the following lemma
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 149
diff changeset
   578
\begin{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 149
diff changeset
   579
\bl{$Der\,c\,A^* = (Der c A)\,@\, A^*$}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 149
diff changeset
   580
\end{center}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 149
diff changeset
   581
\end{itemize}\bigskip\bigskip
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 149
diff changeset
   582
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 149
diff changeset
   583
\begin{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 149
diff changeset
   584
\item If \bl{\texttt{""} $\in A$}, then\\ \bl{$Der\,c\,(A @ B) = (Der\,c\,A) @ B \cup (Der\,c\,B)$}\medskip
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 149
diff changeset
   585
\item If \bl{\texttt{""} $\not\in A$}, then\\ \bl{$Der\,c\,(A @ B) = (Der\,c\,A) @ B$}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 149
diff changeset
   586
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 149
diff changeset
   587
\end{itemize}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 149
diff changeset
   588
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 149
diff changeset
   589
\end{frame}}
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 149
diff changeset
   590
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 149
diff changeset
   591
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 149
diff changeset
   592
47
Christian Urban <urbanc@in.tum.de>
parents: 46
diff changeset
   593
\newcommand{\qq}{\mbox{\texttt{"}}}
Christian Urban <urbanc@in.tum.de>
parents: 46
diff changeset
   594
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <urbanc@in.tum.de>
parents: 46
diff changeset
   595
\mode<presentation>{
Christian Urban <urbanc@in.tum.de>
parents: 46
diff changeset
   596
\begin{frame}[c]
Christian Urban <urbanc@in.tum.de>
parents: 46
diff changeset
   597
\frametitle{\begin{tabular}{c}Grammars\end{tabular}}
Christian Urban <urbanc@in.tum.de>
parents: 46
diff changeset
   598
Christian Urban <urbanc@in.tum.de>
parents: 46
diff changeset
   599
\begin{center}
Christian Urban <urbanc@in.tum.de>
parents: 46
diff changeset
   600
\bl{\begin{tabular}{lcl}
Christian Urban <urbanc@in.tum.de>
parents: 46
diff changeset
   601
$E$ & $\rightarrow$ &  $F + (F \cdot \qq*\qq \cdot F) + (F \cdot \qq\backslash\qq \cdot F)$\\
Christian Urban <urbanc@in.tum.de>
parents: 46
diff changeset
   602
$F$ & $\rightarrow$ & $T + (T \cdot \qq\texttt{+}\qq \cdot T) + (T \cdot \qq\texttt{-}\qq \cdot T)$\\
Christian Urban <urbanc@in.tum.de>
parents: 46
diff changeset
   603
$T$ & $\rightarrow$ & $num + (\qq\texttt{(}\qq \cdot E \cdot \qq\texttt{)}\qq)$\\
Christian Urban <urbanc@in.tum.de>
parents: 46
diff changeset
   604
\end{tabular}}
Christian Urban <urbanc@in.tum.de>
parents: 46
diff changeset
   605
\end{center}
Christian Urban <urbanc@in.tum.de>
parents: 46
diff changeset
   606
Christian Urban <urbanc@in.tum.de>
parents: 46
diff changeset
   607
\bl{$E$}, \bl{$F$} and \bl{$T$} are non-terminals\\
Christian Urban <urbanc@in.tum.de>
parents: 46
diff changeset
   608
\bl{$E$} is start symbol\\
Christian Urban <urbanc@in.tum.de>
parents: 46
diff changeset
   609
\bl{$num$}, \bl{(}, \bl{)}, \bl{+} \ldots are terminals\bigskip\\
Christian Urban <urbanc@in.tum.de>
parents: 46
diff changeset
   610
Christian Urban <urbanc@in.tum.de>
parents: 46
diff changeset
   611
Christian Urban <urbanc@in.tum.de>
parents: 46
diff changeset
   612
\bl{\texttt{(2*3)+(3+4)}}
Christian Urban <urbanc@in.tum.de>
parents: 46
diff changeset
   613
Christian Urban <urbanc@in.tum.de>
parents: 46
diff changeset
   614
\end{frame}}
Christian Urban <urbanc@in.tum.de>
parents: 46
diff changeset
   615
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
Christian Urban <urbanc@in.tum.de>
parents: 46
diff changeset
   616
Christian Urban <urbanc@in.tum.de>
parents: 46
diff changeset
   617
Christian Urban <urbanc@in.tum.de>
parents: 46
diff changeset
   618
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Christian Urban <urbanc@in.tum.de>
parents: 46
diff changeset
   619
\mode<presentation>{
Christian Urban <urbanc@in.tum.de>
parents: 46
diff changeset
   620
\begin{frame}[c]
Christian Urban <urbanc@in.tum.de>
parents: 46
diff changeset
   621
Christian Urban <urbanc@in.tum.de>
parents: 46
diff changeset
   622
\begin{center}
Christian Urban <urbanc@in.tum.de>
parents: 46
diff changeset
   623
\bl{\begin{tabular}{lcl}
Christian Urban <urbanc@in.tum.de>
parents: 46
diff changeset
   624
$E$ & $\rightarrow$ &  $F + (F \cdot \qq*\qq \cdot F) + (F \cdot \qq\backslash\qq \cdot F)$\\
Christian Urban <urbanc@in.tum.de>
parents: 46
diff changeset
   625
$F$ & $\rightarrow$ & $T + (T \cdot \qq\texttt{+}\qq \cdot T) + (T \cdot \qq\texttt{-}\qq \cdot T)$\\
Christian Urban <urbanc@in.tum.de>
parents: 46
diff changeset
   626
$T$ & $\rightarrow$ & $num + (\qq\texttt{(}\qq \cdot E \cdot \qq\texttt{)}\qq)$\\
Christian Urban <urbanc@in.tum.de>
parents: 46
diff changeset
   627
\end{tabular}}
Christian Urban <urbanc@in.tum.de>
parents: 46
diff changeset
   628
\end{center}
Christian Urban <urbanc@in.tum.de>
parents: 46
diff changeset
   629
Christian Urban <urbanc@in.tum.de>
parents: 46
diff changeset
   630
\begin{center}
Christian Urban <urbanc@in.tum.de>
parents: 46
diff changeset
   631
\begin{tikzpicture}[level distance=8mm, blue]
Christian Urban <urbanc@in.tum.de>
parents: 46
diff changeset
   632
  \node {E}
Christian Urban <urbanc@in.tum.de>
parents: 46
diff changeset
   633
    child {node {F} 
Christian Urban <urbanc@in.tum.de>
parents: 46
diff changeset
   634
     child {node {T} 
Christian Urban <urbanc@in.tum.de>
parents: 46
diff changeset
   635
                 child {node {\qq(\qq\,E\,\qq)\qq}
Christian Urban <urbanc@in.tum.de>
parents: 46
diff changeset
   636
                            child {node{F \qq*\qq{} F}
Christian Urban <urbanc@in.tum.de>
parents: 46
diff changeset
   637
                                  child {node {T} child {node {2}}}
Christian Urban <urbanc@in.tum.de>
parents: 46
diff changeset
   638
                                  child {node {T} child {node {3}}} 
Christian Urban <urbanc@in.tum.de>
parents: 46
diff changeset
   639
                               }
Christian Urban <urbanc@in.tum.de>
parents: 46
diff changeset
   640
                          }
Christian Urban <urbanc@in.tum.de>
parents: 46
diff changeset
   641
              }
Christian Urban <urbanc@in.tum.de>
parents: 46
diff changeset
   642
     child {node {\qq+\qq}}
Christian Urban <urbanc@in.tum.de>
parents: 46
diff changeset
   643
     child {node {T}
Christian Urban <urbanc@in.tum.de>
parents: 46
diff changeset
   644
       child {node {\qq(\qq\,E\,\qq)\qq} 
Christian Urban <urbanc@in.tum.de>
parents: 46
diff changeset
   645
       child {node {F}
Christian Urban <urbanc@in.tum.de>
parents: 46
diff changeset
   646
       child {node {T \qq+\qq{} T}
Christian Urban <urbanc@in.tum.de>
parents: 46
diff changeset
   647
                    child {node {3}}
Christian Urban <urbanc@in.tum.de>
parents: 46
diff changeset
   648
                    child {node {4}} 
Christian Urban <urbanc@in.tum.de>
parents: 46
diff changeset
   649
                 }
Christian Urban <urbanc@in.tum.de>
parents: 46
diff changeset
   650
                 }}
Christian Urban <urbanc@in.tum.de>
parents: 46
diff changeset
   651
    }};
Christian Urban <urbanc@in.tum.de>
parents: 46
diff changeset
   652
\end{tikzpicture}
Christian Urban <urbanc@in.tum.de>
parents: 46
diff changeset
   653
\end{center}
Christian Urban <urbanc@in.tum.de>
parents: 46
diff changeset
   654
Christian Urban <urbanc@in.tum.de>
parents: 46
diff changeset
   655
\begin{textblock}{5}(1, 5)
Christian Urban <urbanc@in.tum.de>
parents: 46
diff changeset
   656
\bl{\texttt{(2*3)+(3+4)}}
Christian Urban <urbanc@in.tum.de>
parents: 46
diff changeset
   657
\end{textblock}
Christian Urban <urbanc@in.tum.de>
parents: 46
diff changeset
   658
Christian Urban <urbanc@in.tum.de>
parents: 46
diff changeset
   659
\end{frame}}
Christian Urban <urbanc@in.tum.de>
parents: 46
diff changeset
   660
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
44
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   661
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   662
\end{document}
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   663
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   664
%%% Local Variables:  
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   665
%%% mode: latex
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   666
%%% TeX-master: t
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   667
%%% End: 
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
   668