1
0

Added algorithm for case 1

This commit is contained in:
Ruben
2019-05-17 15:37:19 +02:00
parent b847e1777a
commit d0151ca13a
2 changed files with 17 additions and 2 deletions

1
.gitignore vendored
View File

@@ -580,6 +580,7 @@ fabric.properties
*.pdf *.pdf
*.aux *.aux
*.log *.log
*.save
# End of https://www.gitignore.io/api/rider,csharp,visualstudio # End of https://www.gitignore.io/api/rider,csharp,visualstudio

View File

@@ -3,6 +3,7 @@
\usepackage[utf8]{inputenc} \usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc} \usepackage[T1]{fontenc}
\usepackage[dutch]{babel} \usepackage[dutch]{babel}
\usepackage[linesnumbered, algoruled, lined]{algorithm2e}
\title{Project: Snijdende cirkels} \title{Project: Snijdende cirkels}
\author{Arthur Bols \& Ruben Van Laer} \author{Arthur Bols \& Ruben Van Laer}
@@ -12,9 +13,22 @@
\maketitle \maketitle
\section{Inleiding} \section{Inleiding}
\section{Hoogniveau beschrijving van de algoritmen} \section{Hoogniveau beschrijving van de algoritmen}
\subsection{Simpel algoritme}
\begin{algorithm}
$S \gets \emptyset$\\
$cirkels$: lijst van cirkels met attributen het middelpunt en de straal.\\
\For{$c_1$ in $cirkels$}{
\For{$c_2$ in $cirkels$}{
$snpt \gets$ Snijpunten($c_1$,$c_2$)\\
\If{$snpt \neq \emptyset$}{
Voegtoe($S$,$snpt$)
}
}
}
\caption{Simpel Algoritme}
\end{algorithm}
\section{Beschrijving experimenten en correctheid} \section{Beschrijving experimenten en correctheid}
\section{Bespreking resultaten en rekentijden} \section{Bespreking resultaten en rekentijden}