Added algorithm for case 1
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -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
|
||||||
|
|
||||||
|
@@ -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}
|
||||||
|
Reference in New Issue
Block a user