The Gil-Schmidt power index sums the reciprocal hop distances from a node to the nodes it reaches and divides by \(n - 1\): $$GS(v) = \frac{1}{n - 1} \sum_{w \ne v} \frac{1}{d(v, w)}.$$ Unreachable nodes contribute 0, so the score lies between 0 and 1, and a node adjacent to every other node scores 1.
Arguments
- x
Network input accepted by
centrality.- mode
For directed networks:
"all"(default),"out"or"in".- ...
Further arguments to
centrality, such asnormalized.
Details
Distances are hop counts, so edge weights are ignored and
invert_weights has no effect. mode sets the direction of the
paths. With mode = "out" the values match
sna::gilschmidt() with its default settings.
