\begin{table}[ptbh]
  \centering

  \caption{Runtimes for greedy search}
  \label{tab:runtimes}
  \vspace{1em}

  \begin{tabular}{|r|c|c|c|}
    \hline
    \textbf{Initial network} & \textbf{Final BIC Score} &
    \textbf{Steps required} & \textbf{Time required (ms)} \\
    \hline
    Given & -219.493 & 1 & 135 \\
    Unconnected & -219.707  & 3 & 174 \\
    Connected & -219.493 & 4 & 407 \\
    Random (\#1) & -222.823 & 2 & 183 \\
    Random (\#2) & -219.707 & 3 & 265 \\
    Random (\#3) & -219.493 & 6 & 366 \\
    \hline
  \end{tabular}\\
  \textbf{Net A}

  \vspace{1em}

  \begin{tabular}{|r|c|c|c|}
    \hline
    \textbf{Initial network} & \textbf{Final BIC Score} &
    \textbf{Steps required} & \textbf{Time required (s)} \\
    \hline
    Given & -31563.286 & 18 & 660 \\
    Unconnected & -31551.473  & 8 & 193 \\
    Connected & -31547.159 & 25 & 1624 \\
    Random (\#1) & -31547.159 & 16 & 575 \\
    Random (\#2) & -31551.473 & 12 & 522 \\
    Random (\#3) & -31551.473 & 18 & 628 \\
    \hline
  \end{tabular}\\
  \textbf{Net B}
\end{table}

%
% STRUCTURES A
%

\begin{figure}[ptbh]
  \centering
  \includegraphics[scale=0.75]{figures/part2-neta-given-initial}
  \includegraphics[scale=0.75]{figures/part2-neta-given}
  \caption{Initial and final structures for Net A, Given initial network}
  \label{fig:struct-a-given}
\end{figure}

\begin{figure}[ptbh]
  \centering
  \includegraphics[scale=0.75]{figures/part2-neta-unconnected-initial}
  \includegraphics[scale=0.75]{figures/part2-neta-unconnected}
  \caption{Initial and final structures for Net A, Unconnected initial network}
  \label{fig:struct-a-unconnected}
\end{figure}

\begin{figure}[ptbh]
  \centering
  \includegraphics[scale=0.75]{figures/part2-neta-connected-initial}
  \includegraphics[scale=0.75]{figures/part2-neta-connected}
  \caption{Initial and final structures for Net A, Connected initial network}
  \label{fig:struct-a-connected}
\end{figure}

\begin{figure}[ptbh]
  \centering
  \includegraphics[scale=0.75]{figures/part2-neta-random1-initial}
  \includegraphics[scale=0.75]{figures/part2-neta-random1}
  \caption{Initial and final structures for Net A, Random (\#1)
    initial network}
  \label{fig:struct-a-random1}
\end{figure}

\begin{figure}[ptbh]
  \centering
  \includegraphics[scale=0.75]{figures/part2-neta-random2-initial}
  \includegraphics[scale=0.75]{figures/part2-neta-random2}
  \caption{Initial and final structures for Net A, Random (\#2)
    initial network}
  \label{fig:struct-a-random2}
\end{figure}

\begin{figure}[ptbh]
  \centering
  \includegraphics[scale=0.75]{figures/part2-neta-random3-initial}
  \includegraphics[scale=0.75]{figures/part2-neta-random3}
  \caption{Initial and final structures for Net A, Random (\#3)
    initial network}
  \label{fig:struct-a-random3}
\end{figure}


%
% CPTS A
%

\begin{figure}[ptbh]
  \centering
  \input{figures/part2-neta-given}
  \caption{Learned CPTs for Net A, Given initial network}
  \label{fig:cpt-a-given}
\end{figure}

\begin{figure}[ptbh]
  \centering
  \input{figures/part2-neta-unconnected}
  \caption{Learned CPTs for Net A, Unconnected initial network}
  \label{fig:cpt-a-unconnected}
\end{figure}

\begin{figure}[ptbh]
  \centering
  \input{figures/part2-neta-connected}
  \caption{Learned CPTs for Net A, Connected initial network}
  \label{fig:cpt-a-connected}
\end{figure}

\begin{figure}[ptbh]
  \centering
  \input{figures/part2-neta-random1}
  \caption{Learned CPTs for Net A, Random (\#1) initial network}
  \label{fig:cpt-a-random1}
\end{figure}

\begin{figure}[ptbh]
  \centering
  \input{figures/part2-neta-random2}
  \caption{Learned CPTs for Net A, Random (\#2) initial network}
  \label{fig:cpt-a-random2}
\end{figure}

\begin{figure}[ptbh]
  \centering
  \input{figures/part2-neta-random3}
  \caption{Learned CPTs for Net A, Random (\#3) initial network}
  \label{fig:cpt-a-random3}
\end{figure}

% Throw a newpage in here to keep LaTeX happy. Who knew that you could
% have too many floats in a row?
%\newpage

%
% STRUCTURES B
%

\begin{figure}[ptbh]
  \centering
  \includegraphics[scale=0.75]{figures/part2-netb-given-initial}
  \includegraphics[scale=0.75]{figures/part2-netb-given}
  \caption{Initial and final structures for Net B, Given initial network}
  \label{fig:struct-b-given}
\end{figure}

\begin{figure}[ptbh]
  \centering
  \includegraphics[scale=0.75]{figures/part2-netb-unconnected-initial}
  \includegraphics[scale=0.75]{figures/part2-netb-unconnected}
  \caption{Initial and final structures for Net B, Unconnected initial network}
  \label{fig:struct-b-unconnected}
\end{figure}

\begin{figure}[ptbh]
  \centering
  \includegraphics[scale=0.75]{figures/part2-netb-connected-initial}
  \includegraphics[scale=0.75]{figures/part2-netb-connected}
  \caption{Initial and final structures for Net B, Connected initial network}
  \label{fig:struct-b-connected}
\end{figure}

\begin{figure}[ptbh]
  \centering
  \includegraphics[scale=0.75]{figures/part2-netb-random1-initial}
  \includegraphics[scale=0.75]{figures/part2-netb-random1}
  \caption{Initial and final structures for Net B, Random (\#1)
    initial network}
  \label{fig:struct-b-random1}
\end{figure}

\begin{figure}[ptbh]
  \centering
  \includegraphics[scale=0.75]{figures/part2-netb-random2-initial}
  \includegraphics[scale=0.75]{figures/part2-netb-random2}
  \caption{Initial and final structures for Net B, Random (\#2)
    initial network}
  \label{fig:struct-b-random2}
\end{figure}

\begin{figure}[ptbh]
  \centering
  \includegraphics[scale=0.75]{figures/part2-netb-random3-initial}
  \includegraphics[scale=0.75]{figures/part2-netb-random3}
  \caption{Initial and final structures for Net B, Random (\#3)
    initial network}
  \label{fig:struct-b-random3}
\end{figure}

% \-\\
%\newpage
% 
% CPTS B
%

\begin{figure}[ptbh]
  \centering
  \input{figures/part2-netb-given}
  \caption{Learned CPTs for Net B, Given initial network}
  \label{fig:cpt-b-given}
\end{figure}

\begin{figure}[ptbh]
  \centering
  \input{figures/part2-netb-unconnected}
  \caption{Learned CPTs for Net B, Unconnected initial network}
  \label{fig:cpt-b-unconnected}
\end{figure}

\begin{figure}[ptbh]
  \centering
  \input{figures/part2-netb-connected}
  \caption{Learned CPTs for Net B, Connected initial network}
  \label{fig:cpt-b-connected}
\end{figure}

\begin{figure}[ptbh]
  \centering
  \input{figures/part2-netb-random1}
  \caption{Learned CPTs for Net B, Random (\#1) initial network}
  \label{fig:cpt-b-random1}
\end{figure}

\begin{figure}[ptbh]
  \centering
  \input{figures/part2-netb-random2}
  \caption{Learned CPTs for Net B, Random (\#2) initial network}
  \label{fig:cpt-b-random2}
\end{figure}

\begin{figure}[ptbh]
  \centering
  \input{figures/part2-netb-random3}
  \caption{Learned CPTs for Net B, Random (\#3) initial network}
  \label{fig:cpt-b-random3}
\end{figure}
