Graph partitioning based on nodes and edges weights

风格不统一 提交于 2020-01-06 15:40:10

问题


I have a graph G=(V,E) that both edges and nodes have weights. I want to partition this graph to create equal sized partitions. The definition of the size of partition is sum(vi)-sum(ej) where vi is a node inside that partition and ej is an edge between two nodes in that partition. In my problem the graph is very dense (almost complete). Is there any approximation algorithm for that?

This is somehow similar to the problem in bin packing with overlapping objects where bins have the same size. Weight of nodes are their size and weight of Edges show how much two object can overlap.


回答1:


I think if you use METIS program solved problem. you can download this program of this link http://glaros.dtc.umn.edu/gkhome/views/metis it has a good documentation and very fast program.



来源:https://stackoverflow.com/questions/11656784/graph-partitioning-based-on-nodes-and-edges-weights

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!