[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [igraph] igraph_community_fastgreedy() in C
From: |
Gábor Csárdi |
Subject: |
Re: [igraph] igraph_community_fastgreedy() in C |
Date: |
Sun, 10 Oct 2010 10:49:09 +0200 |
Hi,
for this you need to use the attribute handler, as
igraph_weighted_adjacency adds edge weights as attributes. Please see
http://igraph.sourceforge.net/doc/html/ch09s02.html
http://igraph.sourceforge.net/doc/html/ch09s02s01.html#igraph_cattribute_EANV
http://igraph.sourceforge.net/doc/html/ch09s02s01.html#EANV
Then you can pass the edge weight vector to igraph_community_fastgreedy.
Best,
Gabor
On Sat, Oct 9, 2010 at 8:26 PM, Guilherme Ferraz de Arruda
<address@hidden> wrote:
> Hi,
>
> I was trying to use the igraph_community_fastgreedy() function with C,
> but how can i use the: const igraph_vector_t *weights ?
> What is the sequence of edges?
>
> I have builded my graph with igraph_weighted_adjacency(), may i need
> to use the weights vector?
>
> Thanks for all.
>
> Guilherme.
>
> _______________________________________________
> igraph-help mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/igraph-help
>
--
Gabor Csardi <address@hidden> UNIL DGM
- [igraph] igraph_community_fastgreedy() in C, Guilherme Ferraz de Arruda, 2010/10/09
- Re: [igraph] igraph_community_fastgreedy() in C,
Gábor Csárdi <=
- Re: [igraph] igraph_community_fastgreedy() in C, Guilherme Ferraz de Arruda, 2010/10/10
- Re: [igraph] igraph_community_fastgreedy() in C, Gábor Csárdi, 2010/10/10
- Re: [igraph] igraph_community_fastgreedy() in C, Guilherme Ferraz de Arruda, 2010/10/12
- Re: [igraph] igraph_community_fastgreedy() in C, Gábor Csárdi, 2010/10/12
- Re: [igraph] igraph_community_fastgreedy() in C, Guilherme Ferraz de Arruda, 2010/10/12
- Re: [igraph] igraph_community_fastgreedy() in C, Gábor Csárdi, 2010/10/12
- Re: [igraph] igraph_community_fastgreedy() in C, Tamas Nepusz, 2010/10/12
- Re: [igraph] igraph_community_fastgreedy() in C, Guilherme Ferraz de Arruda, 2010/10/12