The Hungarian algorithm is used to solve the following problem:
Given
n > 0
workers,n
tasks, and the cost matrixC
whose memberC(i, j) >= 0
represents the cost of assigning thei
-th worker to thej
-th task, find an assignment of workers to tasks with minimal total cost.
It does so in O(n3) time. This project is an implementation of the Hungarian Algorithm in C++. Our only dependency is Eigen (for sparse matrices).
Directory | Description |
---|---|
visual_studio/ |
Solution files (VS 2017). |
include/ |
Headers. |
sources/ |
*.cpp sources. |
libraries/ |
3rd party dependencies. |
documentation/ |
Doxygen configuration. |
tests/ |
Test project files. |
benchmarks/ |
Benchmark project files. |