bipartite graph matching to match two sets
问题 I'm a newbie to igraph package in R. I have two sets A and B , each with N vertices (A1, A2, ..., AN) and (B1, B2, ..., BN) . There is an edge between every element of A to every element of B , and I have a function fWgt(Ai, Bj) that returns the weights of the edge between Ai and Bj . I have been trying to use the igraph package in R to do a weighted maximum bipartite matching, but I haven't been able to formulate the problem as per the igraph package. For instance, in the example given for