2010-11-02 75 views
8

匈牙利算法在標準python庫中有很好的實現嗎?Python中的匈牙利算法

+0

http://pypi.python.org/pypi/hungarian/?或者也許http://pypi.python.org/pypi/munkres/1.0.5.2 – nc3b 2010-11-02 07:29:32

+1

http://en.wikipedia.org/wiki/Hungarian_algorithm#Implementations? – kennytm 2010-11-02 07:29:43

+0

有更多鏈接的SO問題:http://stackoverflow.com/questions/1398822/the-assignment-problem-a-numpy-function – hpaulj 2017-04-02 03:41:41

回答

5

我只是想:


pip install munkres 

和它的工作。我試圖安裝「匈牙利語」時出現錯誤。