[Top][All Lists]

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

Re: [igraph] igraph_neighborhood_graphs

From: Gábor Csárdi
Subject: Re: [igraph] igraph_neighborhood_graphs
Date: Fri, 22 Oct 2010 00:49:13 +0200


you mean, you want the graph that is the union of the neighborhood
graphs? Then use igraph_neighborhood, put together the list of vectors
into a single vector, e.g. with igraph_vector_append calls, and then
call igraph_subgraph.


On Fri, Oct 22, 2010 at 12:07 AM, Thomas Gorochowski
<address@hidden> wrote:
> Hi there,
> I need to create a graph from the igraph_vector_ptr_t structure generated by 
> igraph_neighborhood_graphs. I am unsure how to do this in C as there do not 
> seem to be constructors for this purpose.
> Many thanks,
> Tom.
> --
> T.E. Gorochowski
> University of Bristol, Centre for Complexity Sciences (BCCS)
> http://www.chofski.co.uk, address@hidden
> Try our dynamical network simulator at http://www.netevo.org
> _______________________________________________
> igraph-help mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/igraph-help

Gabor Csardi <address@hidden>     UNIL DGM

reply via email to

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