graph_tool.clustering#
This module provides algorithms for calculation of clustering coefficients, a.k.a. transitivity, and related concepts.
Summary#
Return the local clustering coefficients of the vertices. |
|
Return the global clustering coefficient. |
|
Return the square clustering coefficients of the vertices. |
|
Return the edge clustering coefficients. |
|
Return the extended clustering coefficients of the vertices. |
|
Count the occurrence of k-size node-induced subgraphs (motifs). |
|
Obtain the motif significance profile, for subgraphs with k vertices. |
|
Return the triad census of the graph. |
|
Return the dyad census of the graph. |
|
Return the generalized degree of the vertices. |
|
Compute the local scan statistics of the vertices. |
Bipartite graphs#
Return the number of butterflies (cycles of length four) of the vertices, or of the whole graph. |
|
Return the bipartite clustering coefficients of Latapy et al. of the vertices. |
|
Return the bipartite clustering coefficient of Robins and Alexander. |
|
Return the redundancy coefficients of the vertices of a bipartite graph. |
|
Return the spectral bipartivity of the graph. |
|
Compute Barber's modularity of a partition of a bipartite graph. |