-%\begin{figure}[H]\r
-% \centering\r
-% \includegraphics[scale=0.75]{model.small.LStar.rand.eps}\r
-% \vspace{5mm}\r
-% \caption{small alphabet, LStar, Random}\r
-%\end{figure}\r
-%\r
-%\begin{figure}[H]\r
-% \centering\r
-% \includegraphics[scale=0.75]{model.small.TTT.rand.eps}\r
-% \vspace{5mm}\r
-% \caption{small alphabet, TTT, Random}\r
-%\end{figure}\r
-%\r
-%\begin{figure}[H]\r
-% \centering\r
-% \includegraphics[scale=0.75]{model.small.RS.rand.eps}\r
-% \vspace{5mm}\r
-% \caption{small alphabet, RivestSchapire, Random}\r
-%\end{figure}\r
-%\r
-%\begin{figure}[H]\r
-% \centering\r
-% \includegraphics[scale=0.75]{model.small.KV.rand.eps}\r
-% \vspace{5mm}\r
-% \caption{small alphabet, KearnsVazirani, Random}\r
-%\end{figure}\r
-%\r
-%\begin{figure}[H]\r
-% \centering\r
-% \includegraphics[scale=0.75]{model.small.LStar.wm.eps}\r
-% \vspace{5mm}\r
-% \caption{small alphabet, LStar, WMethod}\r
-%\end{figure}\r
-%\r
-%\begin{figure}[H]\r
-% \centering\r
-% \includegraphics[scale=0.75]{model.small.TTT.wm.eps}\r
-% \vspace{5mm}\r
-% \caption{small alphabet, TTT, WMethod}\r
-%\end{figure}\r
-%\r
-%\begin{figure}[H]\r
-% \centering\r
-% \includegraphics[scale=0.75]{model.small.RS.wm.eps}\r
-% \vspace{5mm}\r
-% \caption{small alphabet, RivestSchapire, WMethod}\r
-%\end{figure}\r
-%\r
-%\begin{figure}[H]\r
-% \centering\r
-% \includegraphics[scale=0.75]{model.small.KV.wm.eps}\r
-% \vspace{5mm}\r
-% \caption{small alphabet, KearnsVazirani, WMethod}\r
-%\end{figure}\r
-%\r
-%\begin{figure}[H]\r
-% \centering\r
-% \includegraphics[scale=0.75]{model.partial.LStar.rand.eps}\r
-% \vspace{5mm}\r
-% \caption{partial alphabet, LStar, Random}\r
-%\end{figure}\r
-%\r
-%\begin{figure}[H]\r
-% \centering\r
-% \includegraphics[scale=0.75]{model.partial.TTT.rand.eps}\r
-% \vspace{5mm}\r
-% \caption{partial alphabet, TTT, Random}\r
-%\end{figure}\r
-%\r
-%\begin{figure}[H]\r
-% \centering\r
-% \includegraphics[scale=0.75]{model.partial.RS.rand.eps}\r
-% \vspace{5mm}\r
-% \caption{partial alphabet, RivestSchapire, Random}\r
-%\end{figure}\r
-%\r
-%\begin{figure}[H]\r
-% \centering\r
-% \includegraphics[scale=0.75]{model.partial.KV.rand.eps}\r
-% \vspace{5mm}\r
-% \caption{partial alphabet, KearnsVazirani, Random}\r
-%\end{figure}\r
-%\r
-%\begin{figure}[H]\r
-% \centering\r
-% \includegraphics[scale=0.75]{model.partial.LStar.wm.eps}\r
-% \vspace{5mm}\r
-% \caption{partial alphabet, LStar, WMethod}\r
-%\end{figure}\r
-%\r
-%\begin{figure}[H]\r
-% \centering\r
-% \includegraphics[scale=0.75]{model.partial.TTT.wm.eps}\r
-% \vspace{5mm}\r
-% \caption{partial alphabet, TTT, WMethod}\r
-%\end{figure}\r
-%\r
-%\begin{figure}[H]\r
-% \centering\r
-% \includegraphics[scale=0.75]{model.partial.RS.wm.eps}\r
-% \vspace{5mm}\r
-% \caption{partial alphabet, RivestSchapire, WMethod}\r
-%\end{figure}\r
-%\r
-%\begin{figure}[H]\r
-% \centering\r
-% \includegraphics[scale=0.75]{model.partial.KV.wm.eps}\r
-% \vspace{5mm}\r
-% \caption{partial alphabet, KearnsVazirani, WMethod}\r
-%\end{figure}\r
-%\r
-%\begin{figure}[H]\r
-% \centering\r
-% \includegraphics[width=\textwidth]{model.full.LStar.rand.eps}\r
-% \vspace{5mm}\r
-% \caption{full alphabet, LStar, Random}\r
-%\end{figure}\r
-%\r
-%\begin{figure}[H]\r
-% \centering\r
-% \includegraphics[width=\textwidth]{model.full.TTT.rand.eps}\r
-% \vspace{5mm}\r
-% \caption{full alphabet, TTT, Random}\r
-%\end{figure}\r
-%\r
-%\begin{figure}[H]\r
-% \centering\r
-% \includegraphics[width=\textwidth]{model.full.RS.rand.eps}\r
-% \vspace{5mm}\r
-% \caption{full alphabet, RivestSchapire, Random}\r
-%\end{figure}\r
-%\r
-%\begin{figure}[H]\r
-% \centering\r
-% \includegraphics[width=\textwidth]{model.full.KV.rand.eps}\r
-% \vspace{5mm}\r
-% \caption{full alphabet, KearnsVazirani, Random}\r
-%\end{figure}\r
-%\r
-%\begin{figure}[H]\r
-% \centering\r
-% \includegraphics[width=\textwidth]{model.full.LStar.wm.eps}\r
-% \vspace{5mm}\r
-% \caption{full alphabet, LStar, WMethod}\r
-%\end{figure}\r
-%\r
-%\begin{figure}[H]\r
-% \centering\r
-% \includegraphics[width=\textwidth]{model.full.TTT.wm.eps}\r
-% \vspace{5mm}\r
-% \caption{full alphabet, TTT, WMethod}\r
-%\end{figure}\r
-%\r
-%\begin{figure}[H]\r
-% \centering\r
-% \includegraphics[width=\textwidth]{model.full.RS.wm.eps}\r
-% \vspace{5mm}\r
-% \caption{full alphabet, RivestSchapire, WMethod}\r
-%\end{figure}\r
+\begin{figure}[H]
+ \centering
+ \includegraphics[scale=0.75]{model.small.LStar.rand.eps}
+ \vspace{5mm}
+ \caption{small alphabet, LStar, Random}
+\end{figure}
+
+\begin{figure}[H]
+ \centering
+ \includegraphics[scale=0.75]{model.small.TTT.rand.eps}
+ \vspace{5mm}
+ \caption{small alphabet, TTT, Random}
+\end{figure}
+
+\begin{figure}[H]
+ \centering
+ \includegraphics[scale=0.75]{model.small.RS.rand.eps}
+ \vspace{5mm}
+ \caption{small alphabet, RivestSchapire, Random}
+\end{figure}
+
+\begin{figure}[H]
+ \centering
+ \includegraphics[scale=0.75]{model.small.KV.rand.eps}
+ \vspace{5mm}
+ \caption{small alphabet, KearnsVazirani, Random}
+\end{figure}
+
+\begin{figure}[H]
+ \centering
+ \includegraphics[scale=0.75]{model.small.LStar.wm.eps}
+ \vspace{5mm}
+ \caption{small alphabet, LStar, WMethod}
+\end{figure}
+
+\begin{figure}[H]
+ \centering
+ \includegraphics[scale=0.75]{model.small.TTT.wm.eps}
+ \vspace{5mm}
+ \caption{small alphabet, TTT, WMethod}
+\end{figure}
+
+\begin{figure}[H]
+ \centering
+ \includegraphics[scale=0.75]{model.small.RS.wm.eps}
+ \vspace{5mm}
+ \caption{small alphabet, RivestSchapire, WMethod}
+\end{figure}
+
+\begin{figure}[H]
+ \centering
+ \includegraphics[scale=0.75]{model.small.KV.wm.eps}
+ \vspace{5mm}
+ \caption{small alphabet, KearnsVazirani, WMethod}
+\end{figure}
+
+\begin{figure}[H]
+ \centering
+ \includegraphics[scale=0.75]{model.partial.LStar.rand.eps}
+ \vspace{5mm}
+ \caption{partial alphabet, LStar, Random}
+\end{figure}
+
+\begin{figure}[H]
+ \centering
+ \includegraphics[scale=0.75]{model.partial.TTT.rand.eps}
+ \vspace{5mm}
+ \caption{partial alphabet, TTT, Random}
+\end{figure}
+
+\begin{figure}[H]
+ \centering
+ \includegraphics[scale=0.75]{model.partial.RS.rand.eps}
+ \vspace{5mm}
+ \caption{partial alphabet, RivestSchapire, Random}
+\end{figure}
+
+\begin{figure}[H]
+ \centering
+ \includegraphics[scale=0.75]{model.partial.KV.rand.eps}
+ \vspace{5mm}
+ \caption{partial alphabet, KearnsVazirani, Random}
+\end{figure}
+
+\begin{figure}[H]
+ \centering
+ \includegraphics[scale=0.75]{model.partial.LStar.wm.eps}
+ \vspace{5mm}
+ \caption{partial alphabet, LStar, WMethod}
+\end{figure}
+
+\begin{figure}[H]
+ \centering
+ \includegraphics[scale=0.75]{model.partial.TTT.wm.eps}
+ \vspace{5mm}
+ \caption{partial alphabet, TTT, WMethod}
+\end{figure}
+
+\begin{figure}[H]
+ \centering
+ \includegraphics[scale=0.75]{model.partial.RS.wm.eps}
+ \vspace{5mm}
+ \caption{partial alphabet, RivestSchapire, WMethod}
+\end{figure}
+
+\begin{figure}[H]
+ \centering
+ \includegraphics[scale=0.75]{model.partial.KV.wm.eps}
+ \vspace{5mm}
+ \caption{partial alphabet, KearnsVazirani, WMethod}
+\end{figure}
+
+\begin{figure}[H]
+ \centering
+ \includegraphics[width=\textwidth]{model.full.LStar.rand.eps}
+ \vspace{5mm}
+ \caption{full alphabet, LStar, Random}
+\end{figure}
+
+\begin{figure}[H]
+ \centering
+ \includegraphics[width=\textwidth]{model.full.TTT.rand.eps}
+ \vspace{5mm}
+ \caption{full alphabet, TTT, Random}
+\end{figure}
+
+\begin{figure}[H]
+ \centering
+ \includegraphics[width=\textwidth]{model.full.RS.rand.eps}
+ \vspace{5mm}
+ \caption{full alphabet, RivestSchapire, Random}
+\end{figure}
+
+\begin{figure}[H]
+ \centering
+ \includegraphics[width=\textwidth]{model.full.KV.rand.eps}
+ \vspace{5mm}
+ \caption{full alphabet, KearnsVazirani, Random}
+\end{figure}
+
+\begin{figure}[H]
+ \centering
+ \includegraphics[width=\textwidth]{model.full.LStar.wm.eps}
+ \vspace{5mm}
+ \caption{full alphabet, LStar, WMethod}
+\end{figure}
+
+\begin{figure}[H]
+ \centering
+ \includegraphics[width=\textwidth]{model.full.TTT.wm.eps}
+ \vspace{5mm}
+ \caption{full alphabet, TTT, WMethod}
+\end{figure}
+
+\begin{figure}[H]
+ \centering
+ \includegraphics[width=\textwidth]{model.full.RS.wm.eps}
+ \vspace{5mm}
+ \caption{full alphabet, RivestSchapire, WMethod}
+\end{figure}
deterministic model. We accomplished this by modifying the adapter so it can
reach a \texttt{ERROR} or \texttt{CLOSED} state. In these states all inputs are
discarded and a default output is returned. In the case of a state where an
-input results in a non-deterministic output we jump to the \texttt{ERROR} state
-for additional this given input. When the connection is successfully closed
+input results in a non-deterministic output we jump to the \texttt{ERROR} which will give the \emph{ERR} output for any input.
+When the connection is successfully closed
using a \texttt{FIN} packet we move the adapter to the \texttt{CLOSED} state.
We divided the input alphabet into three sets, this way we can control the size
will result in a 2 state model, \emph{partial} will be the full model without
the \texttt{CLOSED} state and \emph{full} should result in the full model as
used in the previous assignment.
-%
-%\begin{figure}[H]
-% \centering
-% \includegraphics[scale=0.75]{model.small.LStar.rand.eps}
-% \vspace{5mm}
-% \caption{Model learned with small input alphabet}
-%\end{figure}
-%
-%\begin{figure}[H]
-% \centering
-% \includegraphics[width=\textwidth]{model.partial.LStar.rand.eps}
-% \vspace{5mm}
-% \caption{Model learned with partial input alphabet}
-%\end{figure}
-%
-%\begin{figure}[H]
-% \centering
-% \includegraphics[width=1.2\textwidth]{model.full.LStar.rand.eps}
-% \vspace{5mm}
-% \caption{Model learned with full input alphabet}
-%\end{figure}
+
+\begin{figure}[H]
+ \centering
+ \includegraphics[scale=0.75]{model.small.LStar.rand.eps}
+ \vspace{5mm}
+ \caption{Model learned with small input alphabet}
+\end{figure}
+
+\begin{figure}[H]
+ \centering
+ \includegraphics[width=\textwidth]{model.partial.LStar.rand.eps}
+ \vspace{5mm}
+ \caption{Model learned with partial input alphabet}
+\end{figure}
+
+\begin{figure}[H]
+ \centering
+ \includegraphics[width=1.2\textwidth]{model.full.LStar.rand.eps}
+ \vspace{5mm}
+ \caption{Model learned with full input alphabet}
+\end{figure}