HungarianAlgorithm.opCall

Construct an instance of the algorithm and Execute the algorithm.

@param costMatrix the cost matrix, where matrixij holds the cost of assigning worker i to job j, for all i, j. The cost matrix must not be irregular in the sense that all rows must be the same length.

@return the minimum cost matching of workers to jobs based upon the provided cost matrix. A matching value of -1 indicates that the corresponding worker is unassigned.

struct HungarianAlgorithm(T)
static pure
int[]
opCall
(
in T[][] costMatrix_
)

Meta