C++ Algorithms Library
AlgosPP is a static library for sorting algorithms, advanced data structures, and graph algorithms.
- AlgosPPSorting
- basic sorting algorithms
- introsort algorithm that matches std::sort performance
- AlgosPPDataStructures.lib
- Van Emde Boas Tree
- generic
- outperforms balanced BST std::set (log(n) time complexity) on large number of elements with log(log(n)) time complexity
- Fibonacci Heap
- Van Emde Boas Tree
- AlgosPPGraphBasic.lib
- Graph Class
- BFS
- DFS
- Topological Sort
- Strongly Connected Components
- Bellman Ford Single Source Shortest Paths
- AlgosPPGraphAdv.lib
- Prims Minimum Spanning Tree
- Dijkstras Single Source Shortest Paths
- Floyd Warshall All Pairs Shortest Paths
- Johnson All Pairs Shortest Paths
- Clone the repo
git clone https://github.com/BrettCleary/DigitCNN
OR
- Include *.lib
See unit tests for usage examples.
Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.
Project Link: https://github.com/BrettCleary/SeqNN
Profiling for each sorting algorithm implemented compared to std::sort: