igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] Re: Decompose a graph into connected components


From: Gábor Csárdi
Subject: Re: [igraph] Re: Decompose a graph into connected components
Date: Wed, 28 Apr 2010 16:59:41 +0200

On Wed, Apr 28, 2010 at 4:58 PM, Gábor Csárdi <address@hidden> wrote:
> On Wed, Apr 28, 2010 at 4:53 PM, Dr Karl <address@hidden> wrote:
>> Hi,
>>
>>> You mean vertices.
>>
>>    Yes, I mean vertices, sorry.
>
> Well, we were both wrong, my memory failed me, you have igraph_t
> graphs here, of course, I mean in the pointer vector. This is the
> reason why attributes can be kept by igraph_decompose(). Then the rest
> already makes sense. I am sorry for the confusion.
>
> Gabor
>
> [...]

Btw. if don't need the graphs themselves, only the component id of
each vertex, then you can use the igraph_clusters() function.

Gabor

> --
> Gabor Csardi <address@hidden>     UNIL DGM
>



-- 
Gabor Csardi <address@hidden>     UNIL DGM




reply via email to

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