@InterfaceAudience.Private
public class MunkresAssignment
extends Object
Computes the optimal (minimal cost) assignment of jobs to workers (or other
analogous) concepts given a cost matrix of each pair of job and worker, using
the algorithm by James Munkres in "Algorithms for the Assignment and
Transportation Problems", with additional optimizations as described by Jin
Kue Wong in "A New Implementation of an Algorithm for the Optimal Assignment
Problem: An Improved Version of Munkres' Algorithm". The algorithm runs in
O(n^3) time and need O(n^2) auxiliary space where n is the number of jobs or
workers, whichever is greater.