aboutsummaryrefslogtreecommitdiff
path: root/report
diff options
context:
space:
mode:
authorNavid Samanghoon <nsama24@student.sdu.dk>2025-10-24 15:00:15 +0200
committermithe24 <mithe24@student.sdu.dk>2025-10-29 13:49:57 +0100
commit9d5a149356e6e54ad222ee62944994c812e60e03 (patch)
treeceebd78bbcafd347cd8321a7d5fc3de33a364ada /report
parent18a34de5402282a14bcf143e36f21d9814f9f19d (diff)
downloadsorter-9d5a149356e6e54ad222ee62944994c812e60e03.tar.gz
sorter-9d5a149356e6e54ad222ee62944994c812e60e03.zip
Explanation for input, output and the restriction on the range of integers
Diffstat (limited to '')
-rw-r--r--report/report.tex4
1 files changed, 4 insertions, 0 deletions
diff --git a/report/report.tex b/report/report.tex
index 6c152eb..c2eb999 100644
--- a/report/report.tex
+++ b/report/report.tex
@@ -53,6 +53,10 @@ actual runtime to their theoretical runtimes and evaluate each implementation.
\section{Design}
\subsection{How are the input file and output formatted?}
+Each line contains one and only one coordinate consisting of two values formatted as \texttt{$\langle$x$\rangle$\textbackslash t$\langle$y$\rangle$\textbackslash n},
+where x and y are non-negative integers in the range 0 to 32767. Although limitting, this range is a design desicion taken in order to avoid unnecessary complexity and
+keep focus on the main objective of the project, efficient sorting. Including negative numbers would for example require extra logic for parsing, comparision, converting back and forth to ASCII,
+and allocating memory. Both input and output follow this strict format.
\subsection{Program Flow}