| igraph Reference Manual |
|---|
int igraph_community_eb_get_merges(const igraph_t *graph, const igraph_vector_t *edges, igraph_matrix_t *res, igraph_vector_t *bridges);
This function is handy if you have a sequence of edge which are
gradually removed from the network and you would like to know how
the network falls apart into separate components. The edge sequence
may come from the igraph_community_edge_betweenness()
function, but this is not neccessary. Note that igraph_community_edge_betweenness can also calculate the
dendrogram, via its merges argument.
Arguments:
|
The input graph. |
|
Vector containing the edges to be removed from the network, all edges are expected to appear exactly once in the vector. |
|
Pointer to an initialized matrix, if not NULL then the
dendrogram will be stored here, in the same form as for the |
|
Pointer to an initialized vector or NULL. If not null then the index of the edge removals which split the network will be stored here. The vector will be resized as needed. |
Returns:
Error code. |
See also:
Time complexity: O(|E|+|V|log|V|), |V| is the number of vertices, |E| is the number of edges.
<< 5.1. igraph_community_edge_betweenness — Community findinf based on edge betweenness |
6. Community structure based on fast greedy optimization of modularity >> |