I am aware of Girvan - Newman algorithm - here is the algorithm :
- The betweenness of all existing edges in the network is calculated first.
- The edge with the highest betweenness is removed.
- The betweenness of all edges affected by the removal is recalculated.
- Steps 2 and 3 are repeated until no edges remain.
But I want to use this algorithm to find k components in a directed graph, where
k is a given integer.
How can I do this? is it possible?
Thanks.