igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] random rewire edges


From: Gábor Csárdi
Subject: Re: [igraph] random rewire edges
Date: Wed, 11 Jan 2012 10:02:06 -0500

Hi,

igraph is not very good with dynamic graphs currently, so whatever you
do, it will not be very fast. Maybe you want to use another package or
library if your graph structure is changing a lot.

On Tue, Jan 10, 2012 at 3:52 PM, Guilherme Ferraz de Arruda
<address@hidden> wrote:
> Hi,
>
> I need to rewire an edge randomly, but avoiding self-loops and multply edges.
> I will simulate some dynamics on this graph and this process will be
> very slow. So i have to do this as faster as i can.
> I thought about just use the function igraph_delete_edges() and
> igraph_add_edges(), but couldn't understand the first function. What
> is the arggument "igraph_es_t edges"?? How can i get the information

Please read this:
http://igraph.sourceforge.net/doc/html/igraph-Iterators.html

Gabor

> about the vertices "source" and "destiny". And, my graph is
> undirected, may i need to do something more?
> I don't know if this is the faster way (I thought that it isn't).
> Any ideas?
>
> Thanks for all.
>
> _______________________________________________
> igraph-help mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/igraph-help



-- 
Gabor Csardi <address@hidden>     MTA KFKI RMKI



reply via email to

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