igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] Inconsistency in measuring using iGraph GUI (tkigraph() ) a


From: Gábor Csárdi
Subject: Re: [igraph] Inconsistency in measuring using iGraph GUI (tkigraph() ) and command line R - What did I miss?
Date: Thu, 3 Mar 2011 10:23:21 -0500

Well, actually, it is not really a bug, tkigraph() just always uses
'directed=FALSE'. Anyway, I can add a switch for this.

Best,
GAbor

On Thu, Mar 3, 2011 at 10:20 AM, Gábor Csárdi <address@hidden> wrote:
> Hi Shahab,
>
> this seems to be a bug in tkigraph(), it always uses directed=FALSE,
> no matter whether the 'directed' checkbox in marked or not. I'll
> correct it in a minute.
>
> Thanks for your report!
> Best,
> Gabor
>
> On Thu, Mar 3, 2011 at 10:15 AM, shahab <address@hidden> wrote:
>> Hi,
>>
>> I faced a strange anomaly while measuring some certain metrics (e.g.
>> Average path Length, Power.-law degree exponent) using iGraph GUI and
>> alternatively  using same iGraph commands in R command-line  window. I
>> am sure that I have missed something, but I couldn't find what? and
>> how to make both consistent.
>> e.g.
>> In R command line:
>>  g <- erdos.renyi.game(4050, 157411, type="gnm", directed=TRUE)
>> average.path.length(g, TRUE)
>> [1] 2.670126
>>
>> while using igraph GUI, I create same random graph based on
>> erdos&renyi model using same parameters,but I get a different value
>> for average path length : 2.205454
>>
>> I am sure I am missing something, but what? any idea for this
>> inconsistency? How can I get same value using both?
>>
>> best,
>> /Shahab
>>
>> _______________________________________________
>> igraph-help mailing list
>> address@hidden
>> http://lists.nongnu.org/mailman/listinfo/igraph-help
>>
>
>
>
> --
> Gabor Csardi <address@hidden>     UNIL DGM
>



-- 
Gabor Csardi <address@hidden>     UNIL DGM



reply via email to

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