cws/main_cw04.tex
changeset 444 7a0735db4788
parent 430 274c865b3878
child 476 7550c816187a
equal deleted inserted replaced
443:80c691a4caab 444:7a0735db4788
   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