R/utils.R
max_correspondence_greedy.RdFinds a one-to-one assignment (permutation) between rows and columns of a square correlation matrix that maximizes the total correlation score, using a greedy algorithm.
max_correspondence_greedy(cor_mat)A vector of assignments (integer indices).