igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] igraph_neighborhood_graphs


From: Tamas Nepusz
Subject: Re: [igraph] igraph_neighborhood_graphs
Date: Thu, 21 Oct 2010 23:49:15 +0100

Hi Tom,

> 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.
igraph_vector_ptr_t contains pointers; in this particular case, each pointer in 
the igraph_vector_ptr_t you get points to an already initialized igraph_t 
object. There is no need to call a constructor (but you still have to destroy 
the graph properly once you're done with it).

-- 
Tamas




reply via email to

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