用於二分最大匹配的埃德蒙茲算法 (edmonds algorithm for bipartite maximum matching)


問題描述

用於二分最大匹配的埃德蒙茲算法 (edmonds algorithm for bipartite maximum matching)

我想使用 edmonds 算法在二分匹配中找到最大匹配。不幸的是,我無法獲得偽代碼。誰能幫幫我?


參考解法

方法 1:

This is a late post for the benefit of future visitors. There is pseudo code available in wikipidia page

Edmonds Algorithm is applicable to general graphs and not just bipartite graphs. The wiki page shows how the general algorithm can be used for bipartite graphs.

(by bulbasaurMudabir Kabir)

參考文件

  1. edmonds algorithm for bipartite maximum matching (CC BY‑SA 2.5/3.0/4.0)

#bipartite






相關問題

如何找到圖的非完美二分匹配? (How can I find a non-perfect bipartite matching of a graph?)

如何使用 BFS 在無向二部圖中找到最短循環? (How can I find the shortest cycle in an undirected bipartite graph using BFS ?)

如何在有向圖中測試二分 (how to test for bipartite in directed graph)

檢查圖形是否是二分的 (check if the graph is bipartite or not)

二分圖中邊緣不同路徑的數量 (Number of edge distinct paths in bipartite graph)

對於來自兩個不同集合的項目的一對一分配,UI/UX 模式及其優缺點是什麼? (What are UI/UX patterns and their pros/cons for 1-to-1 assignments of items from two different sets?)

將多個函數應用於矩陣列表以返回數據框 (Apply multiple functions to list of matrices to return data frame)

如何將二分圖轉換為無二分圖 (How to convert a bipartite graph into no bipartite)

如何根據來自雙模網絡的匹配創建單模網絡(鄰接矩陣) (How to create a one-mode network (adjacency matrix) based on matches from two-mode network)

igraph 到達模型中屬性類型為“FALSE”的節點 (igraph reaching a node whose type of attribute in the model is "FALSE")

二分網絡igraph中的頂點屬性 (Vertex attributes in bipartite network igraph)

使用循環從 r 中的前一個列表創建一個新列表 (using loop to create a new list from previous list in r)







留言討論