Template Function brille::assignment::lapjv¶
Defined in File lapjv.hpp
Function Documentation¶
-
template<typename idx, typename cost> cost brille::assignment::lapjv (idx dim, const cost *restrict assign_cost, bool verbose, idx *restrict rowsol, idx *restrict colsol, cost *restrict u, cost *restrict v) Jonker-Volgenant algorithm.
- Return
achieved minimum assignment cost
- Parameters
dim: in problem sizeassign_cost: in cost matrixverbose: in indicates whether to report the progress to stdoutrowsol: out column assigned to row in solution / size dimcolsol: out row assigned to column in solution / size dimu: out dual variables, row reduction numbers / size dimv: out dual variables, column reduction numbers / size dim