[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[igraph] igraph_community_to_membership() function
From: |
Guilherme Ferraz de Arruda |
Subject: |
[igraph] igraph_community_to_membership() function |
Date: |
Mon, 22 Nov 2010 15:08:31 -0200 |
Hi,
i'm trying to use the igraph_community_to_membership() function, but i
can't understand the membership vector. At the documentaion they say:
"A membership vector contains for each vertex the id of its graph
component, the graph components are numbered from zero."
is the vertex id the same as the index of the vector??
for example:
com = (long int)VECTOR(membership)[i];
"com" is the community number of the vertex "i"??
Thanks for all.
Guilherme
- [igraph] igraph_community_to_membership() function,
Guilherme Ferraz de Arruda <=