aboutsummaryrefslogtreecommitdiff
path: root/report
diff options
context:
space:
mode:
authormithe24 <mithe24@student.sdu.dk>2025-10-30 09:00:58 +0100
committermithe24 <mithe24@student.sdu.dk>2025-10-30 09:00:58 +0100
commit9244dba7aaf60f29b90eb205454f146050abbe49 (patch)
tree5014ad132fc6c5e3bc63ab223b8be63258e02bb0 /report
parentc7046a8f4762730fd538f82fa9e90d67e5cde25d (diff)
downloadsorter-9244dba7aaf60f29b90eb205454f146050abbe49.tar.gz
sorter-9244dba7aaf60f29b90eb205454f146050abbe49.zip
report(figure 3): bonita
Diffstat (limited to '')
-rw-r--r--report/report.tex3
1 files changed, 3 insertions, 0 deletions
diff --git a/report/report.tex b/report/report.tex
index b88d247..277acaa 100644
--- a/report/report.tex
+++ b/report/report.tex
@@ -254,12 +254,15 @@ Below is a detailed explanation of some of the more interesting functions.
\texttt{// Pointer to file data in $p$ and}\\
\texttt{// length of that data in $n$.}\\
$p,n\leftarrow$ create\_file\_buffer($f$)\\
+ \\
\texttt{// Pointer to pairwise data in $p$}\\
\texttt{// and number of pairs in $n$}\\
$p,n\leftarrow$ make\_pairwise\_data($p,n$)\\
+ \\
\texttt{// Allocate space for final array,}\\
\texttt{// and save pointer in $A$}\\
$A\leftarrow$ allocate($8n$)\\
+ \\
\texttt{// Put memmory address of pair $i$}\\
\texttt{// at index $i$ in $A$}\\
\textbf{for } $i\leftarrow 0$\textbf{ to }$n-1$\textbf{ do}\\