This repository contains the implementation and analysis of an optimized algorithm for computing all-pairs minimax path distances in undirected dense graphs, achieving O(n²log n) complexity.
Algopro_Comparison.pdf
- Performance comparison with existing algorithmsAlgopro_Theorem.pdf
- Theoretical proofs and mathematical analysisCMakeLists.txt
- CMake build configuration for C++ implementationeval_algo4.ipynb
- Jupyter notebook for algorithm evaluation and benchmarkinggen_testcases.ipynb
- Test case generation for algorithm validationopt_algopro.py
- Python implementation of the optimized algorithmopt.cpp
- C++ implementation of the core algorithmopt.hpp
- Header file with algorithm declarationstest_cases.py
- Test case utilities and frameworktest_opt.cpp
- Unit tests for C++ implementationvisualize_algo4.ipynb
- Visualization of algorithm behavior and results
- C++17 or higher
- Python 3.8+
- Jupyter Notebook
- CMake 3.10+
# Build C++ implementation
mkdir build && cd build
cmake ..
make
# Run tests
./test_opt
# Python implementation
python opt_algopro.py
Refer to Algopro_Theorem.pdf
for detailed theoretical analysis and proofs. Performance benchmarks and comparisons can be found in Algopro_Comparison.pdf
.