同配性#

同配性#

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, ...])

计算图的平均度连通性。

混合#

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

返回属性的混合矩阵。

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

返回属性的混合矩阵。

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 中的所有边,生成节点属性值的 2 元组。

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

对图 G 中的边,生成 (degree, degree) 值的 2 元组。