96 lines
2.5 KiB
TeX
96 lines
2.5 KiB
TeX
|
\documentclass[11pt,a4paper]{scrartcl}
|
||
|
\usepackage{algorithm}
|
||
|
\usepackage{algpseudocode}
|
||
|
\usepackage[utf8]{inputenc}
|
||
|
\usepackage[margin=2.25cm]{geometry}
|
||
|
\usepackage{hyperref}
|
||
|
\usepackage{listings}
|
||
|
\usepackage{xcolor}
|
||
|
\usepackage{lmodern}
|
||
|
\usepackage{booktabs}
|
||
|
\usepackage{multirow}
|
||
|
\usepackage{graphicx}
|
||
|
\usepackage{float}
|
||
|
\usepackage{multicol}
|
||
|
\usepackage{tikz}
|
||
|
\usepackage{listings}
|
||
|
\usepackage{pgfplots}
|
||
|
\pgfplotsset{compat=1.18}
|
||
|
\usepackage{subcaption}
|
||
|
\setlength{\parindent}{0cm}
|
||
|
\setlength{\parskip}{0.3em}
|
||
|
\hypersetup{pdfborder={0 0 0}}
|
||
|
%\usepackage[nomessages]{fp} no easter eggs this time
|
||
|
\usepackage{amsmath}
|
||
|
\DeclareMathOperator*{\argmax}{arg\,max}
|
||
|
\DeclareMathOperator*{\argmin}{arg\,min}
|
||
|
\usepackage{minted}
|
||
|
|
||
|
\definecolor{codegreen}{rgb}{0,0.6,0}
|
||
|
\definecolor{codegray}{rgb}{0.5,0.5,0.5}
|
||
|
\definecolor{codepurple}{rgb}{0.58,0,0.82}
|
||
|
\definecolor{backcolour}{rgb}{0.95,0.95,0.92}
|
||
|
|
||
|
\lstdefinestyle{mystyle}{
|
||
|
backgroundcolor=\color{backcolour},
|
||
|
commentstyle=\color{codegreen},
|
||
|
keywordstyle=\color{magenta},
|
||
|
keywordstyle=[2]{\color{olive}},
|
||
|
numberstyle=\tiny\color{codegray},
|
||
|
stringstyle=\color{codepurple},
|
||
|
basicstyle=\ttfamily\footnotesize,
|
||
|
breakatwhitespace=false,
|
||
|
breaklines=true,
|
||
|
captionpos=b,
|
||
|
keepspaces=true,
|
||
|
numbers=left,
|
||
|
numbersep=5pt,
|
||
|
showspaces=false,
|
||
|
showstringspaces=false,
|
||
|
showtabs=false,
|
||
|
tabsize=2,
|
||
|
aboveskip=0.8em,
|
||
|
belowcaptionskip=0.8em
|
||
|
}
|
||
|
\lstset{style=mystyle}
|
||
|
|
||
|
\geometry{left=2cm,right=2cm,top=2cm,bottom=3cm}
|
||
|
\title{
|
||
|
\vspace{-5ex}
|
||
|
Assignment 4 -- Software Analysis \\\vspace{0.5cm}
|
||
|
\Large Model checking with Spin
|
||
|
\vspace{-1ex}
|
||
|
}
|
||
|
\author{Claudio Maggioni}
|
||
|
\date{\vspace{-3ex}}
|
||
|
|
||
|
\begin{document}
|
||
|
\maketitle
|
||
|
|
||
|
\begin{figure}
|
||
|
\begin{subfigure}[t]{\linewidth}
|
||
|
\centering
|
||
|
\resizebox{0.85\textwidth}{!}{\input{plots/n.pgf}}
|
||
|
\caption{Variable \texttt{N}}
|
||
|
\end{subfigure}
|
||
|
\begin{subfigure}[t]{\linewidth}
|
||
|
\centering
|
||
|
\resizebox{0.85\textwidth}{!}{\input{plots/length.pgf}}
|
||
|
\caption{Variable \texttt{LENGTH}}
|
||
|
\end{subfigure}
|
||
|
\begin{subfigure}[t]{\linewidth}
|
||
|
\centering
|
||
|
\resizebox{0.85\textwidth}{!}{\input{plots/r.pgf}}
|
||
|
\caption{Variable \texttt{R}}
|
||
|
\end{subfigure}
|
||
|
|
||
|
\caption{Distribution of CPU time and percentage of timeouts (i.e.\
|
||
|
executions with a real execution time greater than 5 minutes, discarded for
|
||
|
sake of time) for different executions of the model checker for different
|
||
|
parameters of \texttt{N}, \texttt{LENGTH} and \texttt{R}.}
|
||
|
\label{fig:bigplot}
|
||
|
\end{figure}
|
||
|
|
||
|
\end{document}
|
||
|
|