equal
deleted
inserted
replaced
171 This Scala part comes with three reference implementations in form of |
171 This Scala part comes with three reference implementations in form of |
172 \texttt{jar}-files. This allows you to run any test cases on your own |
172 \texttt{jar}-files. This allows you to run any test cases on your own |
173 computer. For example you can call Scala on the command line with the |
173 computer. For example you can call Scala on the command line with the |
174 option \texttt{-cp knight1.jar} and then query any function from the |
174 option \texttt{-cp knight1.jar} and then query any function from the |
175 \texttt{knight1.scala} template file. As usual you have to |
175 \texttt{knight1.scala} template file. As usual you have to |
176 prefix the calls with \texttt{M4a}, \texttt{M4b} and \texttt{M4c}. |
176 prefix the calls with \texttt{M4a}, \texttt{M4b}, \texttt{M4c} and \texttt{M4d}. |
177 Since some of the calls are time sensitive, I included some timing |
177 Since some of the calls are time sensitive, I included some timing |
178 information. For example |
178 information. For example |
179 |
179 |
180 \begin{lstlisting}[language={},numbers=none,basicstyle=\ttfamily\small] |
180 \begin{lstlisting}[language={},numbers=none,basicstyle=\ttfamily\small] |
181 $ scala -cp knight1.jar |
181 $ scala -cp knight1.jar |