Skip to content

C++ based sorting algorithm runtime generator that carries out different sorting operations on very large randomized datasets and records the time taken to complete the sort. University of the West Indies, STA, Computer Science, Data Structures and Algorithms Project.

Notifications You must be signed in to change notification settings

Boldoosang/SortingAlgorithms-RuntimeGenerator

Repository files navigation

Sorting Algorithms Runtime Generator

Welcome to our Analysis of Sorting Algorithms project! This project was designed to generate the runtime data for different sorts, which would then be used to evaluate different sorting algorithms based on their efficiency in various cases. The findings have already been analyzed and the report/raw data has been included as deliverables in the deliverables section below. If you wish to perform your own analysis on the various sorts, this repository is a good starting point.

Completed on 29th November 2020, and updated on GitHub on 12th October 2023 to be archived.

INSTALLATION INSTRUCTIONS

  • Ensure that DevC++ is installed. Alternative compilers can be used, but the .dev file was produced in DevC++ and can be opened directly.
  • Open the .dev file in DevC++.
  • Customize the sorting parameters within the main function for each type of dataset growth.
  • Compile and run.

FEATURES

The following is a list of sorts that are implemented for analysis:

  • Selection Sort
  • Bubble Sort
  • Insertion Sort
  • Merge Sort (multiple)
  • Quick Sort (multiple)
  • Heap Sort
  • Radix Sort

SAMPLE RESULTS

The following sample shows the performance of the algorithms for exponentially growing datasets. Outcome

REFERENCES

The following resources were used for information in the production of the project/report:

PROJECT DELIVERABLES

About

C++ based sorting algorithm runtime generator that carries out different sorting operations on very large randomized datasets and records the time taken to complete the sort. University of the West Indies, STA, Computer Science, Data Structures and Algorithms Project.

Topics

Resources

Stars

Watchers

Forks