Registry / utility / hungarian

hungarian

JSON →
library0.1.3vcpkgunverified

C implementation of the Hungarian algorithm for optimal assignment in O(n^3).

vcpkg install hungarian
INSTALL
IMPORT
SIG · HUNGARIAN
H
hungarian
utilitycppv0.1.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

hungarian.h
#include <hungarian.h>

Solve a 3x3 assignment problem.

#include "hungarian.h" #include <stdio.h> int main() { hungarian_t h; int cost[3][3] = {{1,2,3},{4,5,6},{7,8,9}}; hungarian_init(&h, (int*)cost, 3, 3, HUNGARIAN_MIN); hungarian_solve(&h); printf("Optimal cost: %d\n", h.cost); hungarian_free(&h); return 0; }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.1.3latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources

No resource links recorded.

hungarian — pip install hungarian · libregistry