(
)
centrality
Centrality analysis utilities for network structures.
OdMatrix
Sparse origin-destination weight matrix for OD-weighted centrality. Stores per-pair trip weights in a nested HashMap for O(1) lookup. Constructed once and passed to centrality functions; can be reused across calls.
OdMatrix
OdMatrix
len
len
(
self
/
)
Number of non-zero OD pairs.
n_origins
n_origins
(
self
/
)
Number of unique origin nodes.
BetweennessShortestResult
BetweennessShortestResult
BetweennessShortestResult
(
)
CentralityShortestResult
CentralityShortestResult
CentralityShortestResult
(
)
CentralitySimplestResult
CentralitySimplestResult
CentralitySimplestResult
(
)
CentralitySegmentResult
CentralitySegmentResult
CentralitySegmentResult
(
)