CSCI 496: Senior Portfolio
In partial fulfillment of the requirements for the degree of Bachelor of Science in Computer-Science (class of 2023)
View My Resume
This project compares the implementation of balancing a binary search tree. The two methods compared are AVL and Splay. The comparisons are for the actions of inserting, deleting, searching and searching the same element. The outcome of the comparison can be seen through the plot graphs.
Program runs in command line. In order to gather performance data the funciton to be analyzed needs to be inputed on line 12 of main.cpp. Given makefile with source code the run routine is as follows:
make
./main > data.txt
After data files have been collected for each function desired run performance plot.
Command line program.
Performance graphs for comparison between different functions using AVL and Splay methods.
Performance may vary depending on hardware.
For more details see Balanced Binary Search Tree Comparison.