graph_tool.stats

Contents

graph_tool.stats#

This module contains miscellaneous statistical functions.

Summary#

vertex_hist

Return the vertex histogram of the given degree type or property.

edge_hist

Return the edge histogram of the given property.

vertex_average

Return the average of the given degree or vertex property.

edge_average

Return the average of the given degree or vertex property.

distance_histogram

Return the shortest-distance histogram for each vertex pair in the graph.