Hello, i'm recently have started to use igraphy and this is really good library.
Alas encounteered problem with unused space of vectors.
Consifer this scenario, i have initialized igraph vector(for edges insertion) 
with 10 elements(igraph_vector_init(&v, 10);)
but actually assigned(VECTOR[n] = ) only three elements,
the thing what will happend when i'll actually execute igraph_insert_edges -- 
that three assigned by me elements
will point to right vertices but other elements will point to vertex 0 which is 
understandable.
What i'm trying to do is to igraph_vector_resize_min(&v) but it does nothing - 
resul is the same.
Moreover igraph_vector_size(&v) gives me 10 which i'm assuming vector's 
capacity in my case and actuall size of vector should be 3.

_______________________________________________
igraph-help mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/igraph-help

Reply via email to