Forum Moderators: open
I need an implementation of the Hungarian Algorithm [en.wikipedia.org] in Javascript. The function should take as input a cost matrix (2D array), and return an array of assignments.
I realize I may have to build this from scratch.