Skip to content

Commit 10bf153

Browse files
committed
Shortened Some Contents
1 parent de224f6 commit 10bf153

File tree

1 file changed

+17
-36
lines changed

1 file changed

+17
-36
lines changed

part_maxSatExample.tex

Lines changed: 17 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,8 @@ \section{Example: \maxSat}%
1414
\gdef\maxSatVariablei#1{\ensuremath{\maxSatVariable_{#1}}}%
1515
\gdef\maxSatFormula{\ensuremath{B}}%
1616
%%
17-
\begin{frame}%
17+
\begin{frame}[t]%
1818
\frametitle{\maxSat}%
19-
~\\%
2019
\begin{itemize}%
2120
\item Satisfiability Problems (SAT)\uncover<2->{:%
2221
\begin{itemize}
@@ -39,6 +38,9 @@ \section{Example: \maxSat}%
3938
}%
4039
%
4140
\end{itemize}%
41+
%
42+
\locateGraphic{-5}{width=0.55\paperwidth}{graphics/problem_examples/sat/sat}{0.225}{0.54}%
43+
%
4244
\end{frame}%
4345
%
4446
\begin{frame}[t]%
@@ -83,34 +85,12 @@ \section{Example: \maxSat}%
8385
}%
8486
\item<3-> We pick the first ten instances from each set, i.e., test 100 instances in total%
8587
\item<4-> All instances are satisfiable%
86-
\item<5-> The problem instances have the following features\uncover<6->{:%
87-
\begin{itemize}%
88-
\item \maxSatVariables: the number of variables%
89-
\item<7-> \maxSatClauses: the number of clauses (here related to \maxSatVariables)%
90-
\end{itemize}%
91-
}%
92-
\end{itemize}%
93-
\end{frame}%
94-
%
95-
%
96-
\begin{frame}%
97-
\frametitle{Experiments}%
98-
\begin{itemize}%
99-
\item Now we want to do the experiments.%
100-
\item<2-> What data shall we collect?\uncover<3->{%
101-
\begin{enumerate}%
102-
\item Data should allow us to reproduce algorithm progress over time%
103-
\item<4-> We can collect one data point whenever the algorithm makes an improvement in terms of \objectiveFunction\uncover<5->{ (and one at the end of run)}%
104-
\item<6-> $\maxSatClauses+1$ possible objective values $\Longrightarrow$ at most $\maxSatClauses+2$ log points%
105-
\item<7-> In each log point we record\uncover<8->{%
106-
\begin{itemize}%
107-
\item the number of function evaluations (\measureFEs) performed%
108-
\item<9-> the elapsed runtime \measureRuntime\ (in \nano\second)%
109-
\item<10-> the best objective value \measureObjectiveValue\ achieved so far%
110-
\end{itemize}%
111-
}%
112-
\end{enumerate}%
113-
}%
88+
%\item<5-> The problem instances have the following features\uncover<6->{:%
89+
%\begin{itemize}%
90+
%\item \maxSatVariables: the number of variables%
91+
%\item<7-> \maxSatClauses: the number of clauses (here related to \maxSatVariables)%
92+
%\end{itemize}%
93+
%}%
11494
\end{itemize}%
11595
\end{frame}%
11696
%
@@ -119,10 +99,11 @@ \section{Example: \maxSat}%
11999
\frametitle{Example of Log File}%
120100
%
121101
\begin{itemize}%
122-
\item Example log file obtained from applying the 2-flip Hill Climber with Restarts to the 2\textsuperscript{nd} benchmark instance of set \texttt{uf075}.%
102+
\only<-1>{\item Now we do experiments and collect data.}%
103+
\item<2-> Example log file obtained from applying the 2-flip Hill Climber with Restarts to the 2\textsuperscript{nd} benchmark instance of set \texttt{uf075}.%
123104
\end{itemize}%
124105
%
125-
\begin{locateBox}{0.25}{0.235}
106+
\begin{locateBox}[2-]{0.25}{0.235}
126107
\begin{listingBlock}[0.65]{Log File \texttt{uf075-02\_2FlipHCrs\_01.txt}.}
127108
\centering
128109
\begin{scaledBox}{!}{0.3\paperheight}
@@ -131,7 +112,7 @@ \section{Example: \maxSat}%
131112
\end{listingBlock}
132113
\end{locateBox}
133114
%
134-
\begin{locateBox}[2-]{0}{0}
115+
\begin{locateBox}[3-]{0}{0}
135116
\begin{pgfpicture}%
136117
\pgfpathrectangle{\pgfpoint{0pt}{0pt}}{\pgfpoint{\paperwidth}{\paperheight}}%
137118
\pgfusepath{use as bounding box,clip}%
@@ -146,7 +127,7 @@ \section{Example: \maxSat}%
146127
\pgfpathrectangle{\pgfpoint{0.32\paperwidth}{0.51\paperheight}}{\pgfpoint{0.52\paperwidth}{0.03\paperheight}}%
147128
\pgfusepath{stroke}%
148129
%
149-
\uncover<3->{%
130+
\uncover<4->{%
150131
%
151132
\pgfsetcolor{red}%
152133
\pgftext[right,bottom,at=\pgfpoint{0.2\paperwidth}{0.45\paperheight}]{ellapsed \measureFEs}%
@@ -158,7 +139,7 @@ \section{Example: \maxSat}%
158139
\pgfpathrectangle{\pgfpoint{0.36\paperwidth}{0.085\paperheight}}{\pgfpoint{0.1\paperwidth}{0.585\paperheight}}%
159140
\pgfusepath{stroke}%
160141
%
161-
\uncover<4->{%
142+
\uncover<5->{%
162143
\pgfsetcolor{green}%
163144
\pgftext[right,bottom,at=\pgfpoint{0.2\paperwidth}{0.35\paperheight}]{runtime [\nano\second]}%
164145
\pgfsetlinewidth{1pt}%
@@ -169,7 +150,7 @@ \section{Example: \maxSat}%
169150
\pgfpathrectangle{\pgfpoint{0.56\paperwidth}{0.085\paperheight}}{\pgfpoint{0.11\paperwidth}{0.585\paperheight}}%
170151
\pgfusepath{stroke}%
171152
%
172-
\uncover<5->{%
153+
\uncover<6->{%
173154
\pgfsetcolor{violet}%
174155
\pgftext[right,bottom,at=\pgfpoint{0.2\paperwidth}{0.25\paperheight}]{\measureObjectiveValue: best \objectiveFunctionb{\vec{x}}}%
175156
\pgfsetlinewidth{1pt}%

0 commit comments

Comments
 (0)