hungarian.m

来自「Shape registration by shape context: alg」· M 代码 · 共 14 行

M
14
字号
function [C,T]=hungarian(A)%HUNGARIAN Solve the Assignment problem using the Hungarian method.%%[C,T]=hungarian(A)%A - a square cost matrix.%C - the optimal assignment.%T - the cost of the optimal assignment.% Adapted from the FORTRAN IV code in Carpaneto and Toth, "Algorithm 548:% Solution of the assignment problem [H]", ACM Transactions on% Mathematical Software, 6(1):104-111, 1980.% v1.0  96-06-14. Niclas Borlin, niclas@cs.umu.se.%                 Department of Computing Science, Ume

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?