Hungarian algorithm for matching samples in a bipartite graph from a distance ("cost") matrix
Value
List with elements cost (total matching cost) and assignment (0-indexed column assignment for each row).
Details
This implementation was adapted from RcppHungarian, an Rcpp wrapper for the original C++ implementation by Cong Ma (2016).