看板 Prob_Solve 關於我們 聯絡資訊
Sorry for type in English. I've recently face a problem when analyzing the data. I have about 8000 vertexs, with distance d(i,j) between them. (i.e. might regard as fully-connected graph) I now, however, want ot merge the vertexs. To downsize my number of vertexs. My goal is to merge every 2 vertexs into 1, so the number of total vertexs become 4000. My optimal criteria is that the Sum( d(i,j) ) between all pairs of merged node is minimal. The very first impression is using Greedy algorithm, which easily failed. Is there any good algorithm to attack this problem? Or it is just NP. Does max flow-min cut relate to this problem. Is the problem similar to the idea of seperating the nodes into two clusters and minimize the distance between the clusters? Thanks a lot! -- -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 128.220.29.227
DJWS:看起來跟minimum-weight perfect-matching有點關係~ :) 10/20 21:52
yoco315:感謝樓上 @@ 學到新東西 10/21 09:53
alden:thx, eactly mw p-matching is what I need! 10/23 03:13