DegreeEntropy

Entropy of how connectivity is spread over the nodes of a network: local heterogeneity

Infrastructure · Primitives · brainference 1.0.0

Mechanism

For a network with N nodes and degree sequence k_1..k_N, normalise each node's share of all links, p_i = k_i / sum_j k_j, and take H_d = -sum_i p_i log2 p_i, the ShannonEntropy of that share. H_d is maximal (log2 N) when every node has the same degree and falls as connectivity concentrates on a few hubs. It measures how evenly interaction opportunities are distributed, i.e. the diversity of local pathways. For a directed graph, k_i can be the total degree (in-degree plus out-degree), which discards direction. Note that p_i runs over nodes, not over degree classes, so H_d also grows with N; normalise by N or by an area to compare networks of different size.

Invariants

Failure modes

Where this came from

Builds on

Used by

Identity