On Tue, Nov 19, 2013 at 1:12 PM, Matthew Galati
<[email protected]> wrote:
> It doesn't look like betweenness centrality normalization is working.
>
> The result seems the same with and without normalization. I expected the
> solution to be 0,0,1 (after normalization by (n-1)*(n-2)).
>
>
>> E(g)
> Edge sequence:
>
> [1] 0 -> 2
> [2] 2 -> 0
> [3] 1 -> 2
> [4] 2 -> 1

This seems to be a very old version of igraph. Vertices has been
numbered from one for more than a year now.

Please make sure that this still happens in the most recent version. Thanks.

Gabor

>> E(g)$weight
> [1] 0.3 0.2 0.1 0.3
>> betweenness(g,v=V(g),directed=TRUE)
> 0 1 2
> 0 0 2
>> betweenness(g,v=V(g),directed=TRUE,normalized=TRUE)
> 0 1 2
> 0 0 2
>
>
> _______________________________________________
> igraph-help mailing list
> [email protected]
> https://lists.nongnu.org/mailman/listinfo/igraph-help
>

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

Reply via email to