igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] Closeness centrality considering weights?


From: Gábor Csárdi
Subject: Re: [igraph] Closeness centrality considering weights?
Date: Wed, 31 Dec 2008 09:33:06 +0100

On Tue, Dec 30, 2008 at 11:18 PM, Alvaro Graves Fuenzalida <address@hidden>
wrote:
[...]
> BTW, I found an issue related to igraph_read_graph_ncol it seems it doesn't
> take into account the weights. I found that happens in 0.5 and 0.6
> version... Am I right?

It adds the weights as edge attributes. To utilize them from C, you
need to use the (still experimental) C attribute handler, see
http://cneurocvs.rmki.kfki.hu/igraph/doc/html/ch09s02.html

It is much easier to use attributes from R or Python, just in case you
don't _have to_ use C.

Gabor

> Thanks again
>
> Chris Wj wrote:
>
> FYI. Bazar for Windows has an issue with symlinks, but using Cygwin it works
> well.
>
> On Tue, Dec 30, 2008 at 3:41 PM, Tamas Nepusz <address@hidden> wrote:
>>>
>>> Yes, I would like to compile it (I'm using the C version).
>>
>> You can grab the latest source from Launchpad using Bazaar, it is as
>> simple as:
>>
>> bzr branch lp:igraph
>>
>> (You'll have to run ./bootstrap.sh on the dev tree to generate ./configure
>> and stuff)
>>
>> If you don't/can't use Bazaar, let me know and I'll send you a tarball
>> (unless there's a facility in Launchpad to generate a tarball from a Bazaar
>> branch).
>>
>> --
>> Tamas
>>
>>
>>
>> _______________________________________________
>> igraph-help mailing list
>> address@hidden
>> http://lists.nongnu.org/mailman/listinfo/igraph-help
>
> ________________________________
> _______________________________________________
> igraph-help mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/igraph-help
>
>
> _______________________________________________
> igraph-help mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/igraph-help
>
>



-- 
Gabor Csardi <address@hidden>     UNIL DGM




reply via email to

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