[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: |
Mon, 25 Nov 2013 22:07:51 -0500 |
I guess you are right. I just took the formula from Freeman's classic
paper, and never realized that it only works for undirected graphs,
for directed graphs you need to halve that, because there are twice as
many shortest paths, right?
Thanks for the report, and for the patience!
Best,
Gabor
On Mon, Nov 25, 2013 at 4:58 PM, Matthew Galati
<address@hidden> wrote:
>> Actually, the normalization is not by (n-1)(n-2), but Bnorm =
>> 2*B/(n*n-3*n+2), and the results seem to be correct according to this.
>
>
> Why 2*B? Shouldn't the normalized value be in [0,1]?
>
>
> _______________________________________________
> igraph-help mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/igraph-help
>