?? hungarian.m
字號:
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 + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -