DAA110_Sorting
An assignment given from our Algorithm Design and Analysis lecturer, about sorting.
Running
No we didn't use Matlab, we use Octave. To run this project after cloning it, just go to your terminal and type
octave main.m --no-gui
Make sure the Octave MINGW64 or MINGW32 bin path is listed in your system PATH
environment variable for windows user.
What's insisde
main.m
is basically the main script file.boseMain.m
is the function file that acts as handler for bose-nelson sortboseNetGen.m
is the sorting network generator for theboseMain.m
heapMain.m
is the function file that acts as handler for heap sortstalinMain.m
is the same, but for Stalin sortthanosMain.m
is the same, but for Thanos sortisSorted.m
is the function file that returns true if an array is sorted, otherwise false. Used inthanosMain.m
andstalinMain.m
maxmin.m
is the function file that returns the max and min of two input integers. Used inboseNetGen.m
comp3.m
andcomp4.m
is an unused experiment file made while trying to figure on how to writeboseNetGen.m
- Who the f**k made the
bisection.m
Credits
Made by three people, with love:
- Muhammad Aufi Rayesa Frandhana
- Vivi Rofiah
- Ari Purnama Aji