Added algorithm for case 1
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -580,6 +580,7 @@ fabric.properties
|
||||
*.pdf
|
||||
*.aux
|
||||
*.log
|
||||
*.save
|
||||
|
||||
# End of https://www.gitignore.io/api/rider,csharp,visualstudio
|
||||
|
||||
|
@@ -3,6 +3,7 @@
|
||||
\usepackage[utf8]{inputenc}
|
||||
\usepackage[T1]{fontenc}
|
||||
\usepackage[dutch]{babel}
|
||||
\usepackage[linesnumbered, algoruled, lined]{algorithm2e}
|
||||
|
||||
\title{Project: Snijdende cirkels}
|
||||
\author{Arthur Bols \& Ruben Van Laer}
|
||||
@@ -14,7 +15,20 @@
|
||||
\section{Inleiding}
|
||||
|
||||
\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{Bespreking resultaten en rekentijden}
|
||||
|
Reference in New Issue
Block a user