[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[igraph] Re: Decompose a graph into connected components
From: |
Dr Karl |
Subject: |
[igraph] Re: Decompose a graph into connected components |
Date: |
Thu, 29 Apr 2010 06:56:04 -0700 (PDT) |
User-agent: |
G2/1.0 |
Thank you, Gabor
I've successfully split the graph into connected components graphs
with igraph_decompose, but the attributes I had previously set to the
graph are lost. I'll try igraph_clusters.
On 28 abr, 16:59, Gábor Csárdi <address@hidden> wrote:
> 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
>
> _______________________________________________
> igraph-help mailing list
> address@hidden://lists.nongnu.org/mailman/listinfo/igraph-help
>
> --
> You received this message because you are subscribed to the Google Groups
> "Network analysis with igraph" group.
> To post to this group, send email to address@hidden
> To unsubscribe from this group, send email to address@hidden
> For more options, visit this group
> athttp://groups.google.com/group/network-analysis-with-igraph?hl=en.