[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [igraph] betweeness centrality
From: |
Gábor Csárdi |
Subject: |
Re: [igraph] betweeness centrality |
Date: |
Tue, 19 Nov 2013 15:38:29 -0500 |
On Tue, Nov 19, 2013 at 1:12 PM, Matthew Galati
<address@hidden> 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
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/igraph-help
>
- [igraph] betweeness centrality, Matthew Galati, 2013/11/19
- Re: [igraph] betweeness centrality,
Gábor Csárdi <=
- Re: [igraph] betweeness centrality, Matthew Galati, 2013/11/25
- Re: [igraph] betweeness centrality, Gábor Csárdi, 2013/11/25
- Re: [igraph] betweeness centrality, Matthew Galati, 2013/11/25
- Re: [igraph] betweeness centrality, Gábor Csárdi, 2013/11/25
- Re: [igraph] betweeness centrality, Matthew Galati, 2013/11/26
- Re: [igraph] betweeness centrality, Gábor Csárdi, 2013/11/26