Girvan–Newman algorithm: Difference between revisions

Content deleted Content added
No edit summary
Tags: Reverted Visual edit
Undid revision 1006346264 by 45.249.79.40 (talk) -- not an improvement
Line 14:
# The edge(s) with the highest betweenness are removed.
# The betweenness of all edges affected by the removal is recalculated.
# Steps 2 and 3 are repeated until no edges remain and its same.
 
The fact that the only betweennesses being recalculated are only the ones which are affected by the removal, may lessen the running time of the process' simulation in computers. However, the betweenness centrality must be recalculated with each step, or severe errors occur. The reason is that the network adapts itself to the new conditions set after the edge removal. For instance, if two communities are connected by more than one edge, then there is no guarantee that '''all''' of these edges will have high betweenness. According to the method, we know that '''at least one''' of them will have, but nothing more than that is known. By recalculating betweennesses after the removal of each edge, it is ensured that at least one of the remaining edges between two communities will always have a high value.