summaryrefslogtreecommitdiff
path: root/Homework/cs5000/hw01/CS5000_F23_HW1.tex
blob: 42eac8b212b9f6fd5baaf998e3180470c77630a2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
% Created 2023-09-15 Fri 20:36
% Intended LaTeX compiler: pdflatex
\documentclass[11pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{graphicx}
\usepackage{longtable}
\usepackage{wrapfig}
\usepackage{rotating}
\usepackage[normalem]{ulem}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{capt-of}
\usepackage{hyperref}
\notindent \notag  \usepackage{amsmath} \usepackage[a4paper,margin=1in,landscape]{geometry}
\author{Elizabeth Hunt}
\date{\today}
\title{HW 01}
\hypersetup{
 pdfauthor={Elizabeth Hunt},
 pdftitle={HW 01},
 pdfkeywords={},
 pdfsubject={},
 pdfcreator={Emacs 28.2 (Org mode 9.7-pre)}, 
 pdflang={English}}
\begin{document}

\maketitle
\setlength\parindent{0pt}

\section{Question One}
\label{sec:org0490f98}
\begin{center}
\includegraphics[width=400px]{./img/line_robor.png}
\end{center}

\(Q\) = \{ readsensors, turnleft, moveforward, turnright \}

\(\Sigma\) = \{ white, blackonleft, leftturncomplete, blackonmiddle, movecomplete,
blackonright, rightturncomplete \}

\(\delta(p_0, a) = p_0\)
\(\delta(p_0, b) = p_1\)
\(\delta(p_0, d) = p_2\)
\(\delta(p_0, f) = p_3\)
\(\delta(p_1, c) = p_0\)
\(\delta(p_2, e) = p_0\)
\(\delta(p_3, g) = p_0\)

\(F = \emptyset\)

\section{Question Two}
\label{sec:orgdb1d9e7}
\begin{center}
\includegraphics[width=400px]{./img/blob_robor.png}
\end{center}


\(Q\) = \{ readsensors, turnleft, moveforward, turnright \}

\(\Sigma\) = \{ white, obstacleleft, leftturncomplete, obstacleboth, movecomplete,
obstacleright, rightturncomplete \}

\(\delta(p_0, a) = p_0\)
\(\delta(p_0, b) = p_1\)
\(\delta(p_0, d) = p_2\)
\(\delta(p_0, f) = p_3\)
\(\delta(p_1, c) = p_0\)
\(\delta(p_2, e) = p_0\)
\(\delta(p_3, g) = p_0\)

\(F = \emptyset\)

\section{Question Three}
\label{sec:orgf7c103c}
\begin{center}
\includegraphics[width=400px]{./img/sus_man.png}
\end{center}

Thus a robot could take \texttt{puton(C, T)}, \texttt{puton(B, C)}, and finally \texttt{puton(A, B)}.

\section{Question Four}
\label{sec:org54c6f53}
\begin{center}
\begin{tabular}{llrr}
State & 0 & 1 & 2\\[0pt]
q\textsubscript{0} & \{ q\textsubscript{0}, q\textsubscript{1}, q\textsubscript{2}\} &  & \\[0pt]
q\textsubscript{1} &  & \{q\textsubscript{1}, q\textsubscript{2}\} & \\[0pt]
q\textsubscript{2} &  &  & \{q\textsubscript{2}\}\\[0pt]
\end{tabular}
\end{center}

\begin{center}
\includegraphics[width=200px]{./img/no_epsilon.png}
\end{center}
\end{document}