Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hawmex/aut_algorithm_design_foundations_project

This repository contains the files of my project for the "Algorithm Design Foundations" course at AUT (Tehran Polytechnic).
https://github.com/hawmex/aut_algorithm_design_foundations_project

benchmark benchmarking python search-algorithms

Last synced: 5 days ago
JSON representation

This repository contains the files of my project for the "Algorithm Design Foundations" course at AUT (Tehran Polytechnic).

Awesome Lists containing this project

README

        

# Benchmarking Search Algorithms

This repository contains the files of my project for the "Algorithm Design
Foundations" course at Amirkabir University of Technology (Tehran Polytechnic).

## Studied Algorithms

1. Linear search
2. Jump search
3. Binary search
4. Ternary search
5. Interpolation search
6. Exponential search
7. Fibonacci search
8. Uniform binary search

## Results

![Linear Search](./screenshots/linear_raw.png)
![Jump Search](./screenshots/jump_raw.png)
![Binary Search](./screenshots/binary_raw.png)
![Ternary Search](./screenshots/ternary_raw.png)
![Interpolation Search](./screenshots/interpolation_raw.png)
![Exponential Search](./screenshots/exponential_raw.png)
![Fibonacci Search](./screenshots/fibonacci_raw.png)
![Uniform Binary Search](./screenshots/uniform_binary_raw.png)
![Smoothed Results](./screenshots/smoothed.png)

As we expected theoretically, we found that Linear Search has the worst
performance. And ternary search, binary search, and interpolation search perform
the best.