相配性#

相配性#

degree_assortativity_coefficient(G[, x, y, ...])

计算图的程度分类。

attribute_assortativity_coefficient(G, attribute)

计算节点属性的分类。

numeric_assortativity_coefficient(G, attribute)

计算数值节点属性的分类。

degree_pearson_correlation_coefficient(G[, ...])

计算图的程度分类。

平均相邻度#

average_neighbor_degree(G[, source, target, ...])

返回每个节点的邻域的平均度数。

平均连通度#

average_degree_connectivity(G[, source, ...])

计算图的平均连通度。

k_nearest_neighbors(G[, source, target, ...])

计算图的平均连通度。

混合#

attribute_mixing_matrix(G, attribute[, ...])

返回属性的混合矩阵。

degree_mixing_matrix(G[, x, y, weight, ...])

返回属性的混合矩阵。

numeric_mixing_matrix(G, attribute[, nodes, ...])

返回属性的数字混合矩阵。

attribute_mixing_dict(G, attribute[, nodes, ...])

返回属性的混合矩阵的字典表示形式。

degree_mixing_dict(G[, x, y, weight, nodes, ...])

返回度混合矩阵的字典表示形式。

mixing_dict(xy[, normalized])

返回混合矩阵的字典表示形式。

#

node_attribute_xy(G, attribute[, nodes])

返回G中所有边的节点属性对的迭代器。

node_degree_xy(G[, x, y, weight, nodes])

为G中的边生成节点度对。