Two-way random walk betweenness (Curado et al. 2022) counts how often a node lies on the strongest two-way route between a pair. For every unordered pair \((i, j)\) the two-step transfer \(P_{itj} = w_{it} w_{tj} / (d_i d_j)\) is combined into \(T_{ij}[t, k] = P_{itj} P_{jki}\), the diagonal is dropped, and the largest entry credits one count to \(t\) and one to \(k\). The score of a node is its total count over all pairs.
Arguments
- x
Network input accepted by
centrality.- ...
Further arguments to
centrality. The measure usesweighted(use edge weights, defaultTRUE).
Details
Edge weights are used, and direction and self-loops are ignored. Ties in the maximum go to the first entry in row-major order. Nodes that never lie on a winning two-way route score 0. The source divides the transfer by \(d_i d_j\), where a random-walk probability would divide by \(d_i d_t\). The formula is implemented as printed.
