代码之家  ›  专栏  ›  技术社区  ›  Ante

Python中的匈牙利算法

  •  11
  • Ante  · 技术社区  · 14 年前

    匈牙利算法在标准python库中有很好的实现吗?

    3 回复  |  直到 14 年前
        1
  •  9
  •   federicober    6 年前

    我只是想:

    
    pip install munkres
    

    而且成功了。 Here

    尝试安装“匈牙利语”时出错。

        2
  •  3
  •   krico    14 年前

    检查这个 munkres 外面的

        3
  •  2
  •   mrk    6 年前

    pip install munkres
    

    Documentation here

    pip install hungarian
    

    Documentation here

    pip install scipy
    scipy.optimize.linear_sum_assignment
    

    Documentation here