[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: Tue, 12 Oct 2010 10:29:52 +0200


On Tue, Oct 12, 2010 at 4:28 AM, Guilherme Ferraz de Arruda
<address@hidden> wrote:
> Hi,
> I was trying to use the EANV(), but i got an error with this function.
> I got segmentation fault
> I write a function to find communities:
> int ComunidadesFastgreedy(igraph_t *grafo, igraph_vector_t* atributos,
>                       igraph_vector_t* modularity, igraph_matrix_t* merges){
>  igraph_vector_init(atributos, 0);
>  igraph_vector_init(modularity,0);
>  igraph_matrix_init(merges, 0, 0);
>  EANV(grafo, NULL, atributos);

The second argument should be the name of the attribute, which in your
case is "weight". Where did you get the idea from that the second
argument can be NULL?




Gabor Csardi <address@hidden>     UNIL DGM

reply via email to

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