all sources moved to appendices. ass2 has to be updated
authorMart Lubbers <mart@martlubbers.net>
Tue, 18 Nov 2014 13:37:00 +0000 (14:37 +0100)
committerMart Lubbers <mart@martlubbers.net>
Tue, 18 Nov 2014 13:37:00 +0000 (14:37 +0100)
report/appendix.tex
report/ass2.tex

index a73397c..a6dac12 100644 (file)
        \label{domaintask7}
        \prologcode{./src/domaintask7.pl}
 \end{listing}
+\begin{listing}[H]
+       \caption{Generating conflict sets}
+       \label{task12}
+       \prologcode{./src/task12.pl}
+\end{listing}
+\begin{listing}[H]
+       \caption{Hitting set datastructure}
+       \label{hs}
+       \prologcode{./src/hs.pl}
+\end{listing}
+\begin{listing}[H]
+       \caption{Code for generating a hitting set tree}
+       \label{task14part1}
+       \prologcode{./src/task14part1.pl}
+\end{listing}
+\begin{listing}[H]
+       \caption{Code for generating a minimal hitting sets}
+       \label{task14part2}
+       \prologcode{./src/task14part2.pl}
+\end{listing}
index 0533a62..fbf780d 100644 (file)
@@ -1,16 +1,9 @@
 \subsection{Implementation of the hitting-set algorithm}
 \subsubsection{Task 12: Generate conflict}
-\begin{listing}[H]
-       \caption{Generating conflict sets}
-       \prologcode{./src/task12.pl}
-\end{listing}
+Can be found in \textit{./src/task12.pl} or in Listing~\ref{task12}.
 
 \subsubsection{Task 13: Define your data structure}
-\begin{listing}[H]
-       \caption{Hitting set datastructure}
-       \prologcode{./src/hs.pl}
-\end{listing}
-
+Can be found in \textit{./src/hs.pl} or in Listing~\ref{hs}.
 \begin{figure}[H]
        \caption{Examples of good hitting set trees}
        \begin{tikzpicture}     [grow=down]
 \end{figure}
 
 \subsubsection{Task 14: Implementation}
-\begin{listing}[H]
-       \caption{Code for generating a hitting set tree}
-       \prologcode{./src/task14part1.pl}
-\end{listing}
-
-\begin{listing}[H]
-       \caption{Code for generating a minimal hitting sets}
-       \prologcode{./src/task14part2.pl}
-\end{listing}
+Can be found in \textit{./src/task14part1.pl} or in Listing~\ref{task14part1}.
+Can be found in \textit{./src/task14part2.pl} or in Listing~\ref{task14part2}.