igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [igraph] Choosing between different methods of detecting communities


From: Gábor Csárdi
Subject: Re: [igraph] Choosing between different methods of detecting communities
Date: Tue, 2 Oct 2012 09:27:51 -0400

Hi,

from ?edge.betweenness.community:

...
 weights: The edge weights. Supply ‘NULL’ to omit edge weights. By
          default the ‘‘weight’’ edge attribute is used, if it is
          present.
...

So, yes, if the edge weights are assigned as the 'weight' attribute,
then you don't need to supply them explicitly.

Gabor

On Tue, Oct 2, 2012 at 6:27 AM, 凌琛 <address@hidden> wrote:
> Hi Gabor,
>
> If I want to use the weighted edge betweenness community detection algorithm
> in R, is it enough to just use
>
> edge.betweenness.community(G)?
>
> Namely, it is no need to add arguments about edge weights in the graph.
> Thanks.
>
> Regards,
>
> chen
>
> On Sat, Sep 29, 2012 at 9:06 PM, Gábor Csárdi <address@hidden> wrote:
>>
>> On Sat, Sep 29, 2012 at 8:32 AM, 凌琛 <address@hidden> wrote:
>> > OK, so that if I use similarity of nodes as edge weights, I need to
>> > transform the weights (i.e., inverse) for detecting community.
>> > is that right?
>>
>> I think so, because when you calculate shortest paths, you want edge
>> weights to represent distances.
>>
>> Gabor
>>
>> [...]
>>
>> _______________________________________________
>> igraph-help mailing list
>> address@hidden
>> https://lists.nongnu.org/mailman/listinfo/igraph-help
>
>
>
> _______________________________________________
> igraph-help mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/igraph-help
>



-- 
Gabor Csardi <address@hidden>     MTA KFKI RMKI



reply via email to

[Prev in Thread] Current Thread [Next in Thread]