| igraph Reference Manual |
|---|
int igraph_adhesion(const igraph_t *graph, igraph_integer_t *res, igraph_bool_t checks);
This quantity is defined by White and Harary in The cohesiveness of blocks in social networks: node connectivity and conditional density, (Sociological Methodology 31:305--359, 2001) and basically it is the edge connectivity of the graph with uniform edge weights.
Arguments:
|
The input graph, either directed or undirected. |
|
Pointer to an integer, the result will be stored here. |
|
Logical constant. Whether to check that the graph is connected and also the degree of the vertices. If the graph is not (strongly) connected then the adhesion is obviously zero. Otherwise if the minimum degree is one then the adhesion is also one. It is a good idea to perform these checks, as they can be done quickly compared to the edge connectivity calculation itself. They were suggested by Peter McMahan, thanks Peter. * |
Returns:
Error code. |
Time complexity: O(log(|V|)*|V|^2) for undirected graphs and
O(|V|^4) for directed graphs, but see also the discussion at the
documentation of igraph_maxflow_value().
See also:
| << 5. Graph Adhesion and Cohesion | 5.2. igraph_cohesion — Graph cohesion, this is the same as vertex connectivity. >> |