- Teacher : Dr. Omid Sojoodi
- Student : Ramtin Kosari
This Repository Contains Collection of Implementations and Usages of CLRS Book Algorithms Visualized by OpenCV C++ Library
Supported Algorithms :
- Sorts
- Insertion Sort
- Selection Sort
- Bubble Sort
- Quick Sort
- Merge Sort
- Heap Sort
- Search
- Linear Search
- Binary Search
- Min Max
- Min Max of Array
- Large Numbers Operations
- Multiplication of Large Numbers
- Subtraction of Large Numbers
- Addition of Large Numbers
- Division of Large Numbers
- Matrix Operations
- Strassen Matrix Multiplication
- Matrix Chain Multiplication
- Block Matrix Multiplication
- Floyd Warshall Algorithm
- Inverse of Matrix
- Travelling Salesman Problem
- TSP Dynamic Programming
- TSP Genetic Algorithm
- TSP Branch and Bound
- TSP Brute Force
- Knapsack Problem
- Fractional Knapsack Problem
- 0/1 Knapsack Problem
- 0/1 Knapsack Branch and Bound Problem
- Moving on a Grid
- Moving on a Grid
- Minimum Spanning Tree
- Kruskal's Algorithm
- Prim's Algorithm
- Shortest Path
- Floyd Warshall Algorithm
- Bellman Ford Algorithm
- Dijkstra's Algorithm
- Huffman Coding
- Huffman Coding
- N Queens Problem
- N Queens Problem
- Convex Hull
- Jarvis March
- Graham Scan
- Graph
- Breadth First Search
- Depth First Search
Here are Graphical Views of Sorting Algorithms on Random Generated Points, Final Result Shows Points that have been Sorted by Theta from Point in Middle
Here are Graphical Views of N-Queens Problem
First You Must Clone RKACPB Repository which is My Automatic C++ Project Builder by :
git clone https://github.com/RamtinKosari/RKACPB.git
Then, Go to RKACPB by cd RKACPB
and Do this Command
./build.sh --packages "OpenCV;X11"
This will Automatically Build the Project, then You have to Go to the build
Directory Created in Base Directory and Do this Command :
./run
Before You Begin, Ensure You have Met the Following Requirements:
- Installed
OpenCV
4.x Linux
orMacOS
CMake
andGCC
Compiler