aboutsummaryrefslogtreecommitdiff
path: root/Practical2/report/report.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Practical2/report/report.tex')
-rw-r--r--Practical2/report/report.tex81
1 files changed, 81 insertions, 0 deletions
diff --git a/Practical2/report/report.tex b/Practical2/report/report.tex
new file mode 100644
index 0000000..4c71eee
--- /dev/null
+++ b/Practical2/report/report.tex
@@ -0,0 +1,81 @@
+\documentclass[10pt,a4paper]{article}
+
+\usepackage{fancyhdr}
+\renewcommand{\headrulewidth}{0pt}
+\renewcommand{\footrulewidth}{0pt}
+\fancyhead{}
+\fancyfoot[C]{Copyright {\textcopyright} 2015 Camil Staps}
+\pagestyle{fancy}
+
+\usepackage{enumitem}
+
+\usepackage{amsmath}
+\usepackage{amssymb}
+\usepackage{amsthm}
+\usepackage{amsfonts}
+\DeclareMathAlphabet{\pazocal}{OMS}{zplm}{m}{n}
+
+\usepackage[hidelinks]{hyperref}
+\usepackage{url}
+
+\newcommand*\PM{\pazocal M}
+\newcommand*\PP{\pazocal P}
+\newcommand*\PR{\pazocal R}
+\newcommand*\round[1]{\lfloor #1\rceil}
+\newcommand*\seq[1]{\left\langle #1\right\rangle}
+
+\providecommand*{\lemmaautorefname}{Lemma}
+\newtheorem{lemma}{Lemma}
+\newtheorem{theorem}{Theorem}
+\numberwithin{lemma}{section}
+\numberwithin{theorem}{section}
+
+\newenvironment{thmproof}[3][]{%
+ \begin{samepage}
+ \begin{#2}%
+ \def\templabel{#1}%
+ \def\tempname{#2}%
+ \def\temptheorem{theorem}%
+ \ifx\templabel\empty\else\ifx\tempname\temptheorem\label{thm:#1}\else\label{lem:#1}\fi\fi%
+ #3%
+ \end{#2}%
+ \begin{proof}%
+}{\end{proof}\end{samepage}}
+
+\newcommand{\refeq}[2][]{\begin{equation}\label{eq:#1}#2\end{equation}}
+
+\usepackage{algorithm}
+\usepackage{algorithmic}
+\providecommand*{\algorithmautorefname}{Algorithm}
+
+\renewcommand*{\sectionautorefname}{Section}
+\renewcommand*{\subsectionautorefname}{subsection}
+\renewcommand*{\subsubsectionautorefname}{subsection}
+
+\usepackage{minted}
+
+\title{How To Save Less Money Than Your CPU Costs} %todo working title
+\author{Camil Staps}
+
+\begin{document}
+
+\maketitle
+\thispagestyle{fancy}
+
+\begin{abstract}
+ %todo
+\end{abstract}
+
+\section{Report organisation}
+\autoref{sec:notation} will define the notation used throughout this report. In \autoref{sec:algorithm} I will describe the algorithm and argue its correctness. First, we will discuss the basic structure in \autoref{sec:algorithm:general}. After that, I will show some optimisations in \autoref{sec:algorithm:optimisations}.
+
+When we have seen the algorithm, \autoref{sec:implementation} will go into details about its implementation in C. \autoref{sec:analysis} will contain a complexity analysis, both time- and space-wise, of the algorithm and its C implementation.
+
+\input{notation}
+\input{algorithm}
+%\input{implementation}
+%\input{analysis}
+%\input{discussion}
+
+\end{document}
+