> I misspoke, I meant closeness

Closeness is different; an isolated vertex will have a closeness centrality of 
1/n where n is the number of vertices. This is due to how igraph defines 
closeness centrality for disconnected graphs: when two nodes are disconnected, 
igraph assumes that their distance is n because we cannot use infinity for 
obvious reasons, and n is always larger than the longest possible geodesic in a 
network so it sort of makes sense.

T.

_______________________________________________
igraph-help mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/igraph-help

Reply via email to