-
Notifications
You must be signed in to change notification settings - Fork 1
Network centrality
Accessibility indicators ask how well a location reaches destinations. Centrality measures ask how important a location is within the network itself, independently of what is located there. The two are related but not interchangeable: a motorway junction in an empty landscape is central but not accessible to much.
When an outgoing link of node
For a fully connected network this converges to a stationary Markov distribution that is independent of the starting state. That stationary distribution can be considered a measure of centrality for a connected set of nodes. It is the same construction that underlies PageRank.
If a network has
can be computed with a simple array lookup (index), a multiplication and a partitioned summation, in
attribute<float64> link_probability (link) := 1.0 / float64(pcount(link_F1)); // P_ij
attribute<float64> node_probability_0 (node) := 1.0 / pcount(node);
attribute<float64> node_probability_1 (node) := sum(node_probability_0[link_F1] * link_probability, link_F2);
Applying the last line iteratively gives for_each:
unit<uint32> t: nrofrows = 100
{
attribute<string> name := 't' + string(id(t));
}
container iteration := for_each_nedv(t/name,
sum(' + MakeDefined(t/name[ID(iter)-1], 'node_probability_0') + '[link_F1] * link_probability, link_F2)'
, node
, float64);
For reference, the random walk measure sits alongside the classical graph theoretic ones.
- Degree centrality, the number of connecting links. Trivial to compute, but weak as an indicator on road networks where degree is nearly constant.
- Betweenness centrality, the share of shortest paths passing through a node. Directly meaningful for traffic load, but expensive, since it requires all pairs shortest paths.
- Closeness centrality, the inverse of the mean shortest path impedance to all other nodes. This is the measure closest to a location based accessibility indicator with a uniform attraction.
A third route to centrality is to assign modelled flows to the network and read off how much passes
through each link. The interaction section of the
impedance options produces exactly this as
Link_flow, the sum of all origin destination flows whose route uses that link, and
trace_back gives the same quantity for a given set of
routes.
This is betweenness centrality with the pairs weighted by a spatial interaction model instead of counted equally, which for a road network is usually the more meaningful of the two. The theory is in Spatial Interaction Models.
- Accessibility indicators
- Shortest path and the Dijkstra algorithm
- Spatial Interaction Models
- connected_parts and strongly_connected_components, for the connectivity assumptions the Markov measure depends on
Accessibility modelling documentation

Concepts
Networks
- Network data sources
- OSM
- NWB
- GTFS
- Building a routable network
- Network optimisation algorithm
- Travel speeds per mode
Origins & destinations
Computation
- Shortest path and the Dijkstra algorithm
- Origin Destination matrix (trip table)
- Isochrones and catchment areas
- Public transport routing
Indicators
Applications
Network models
Reference