[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [igraph] Random regular graph
From: |
Raphael Clifford |
Subject: |
Re: [igraph] Random regular graph |
Date: |
Wed, 12 Sep 2012 15:03:02 +0100 |
On 12 September 2012 15:01, Tamás Nepusz <address@hidden> wrote:
>> Thanks. The nice thing about networkx is that you also get the source
>> http://networkx.lanl.gov/_modules/networkx/generators/random_graphs.html#random_regular_graph
>> (which in this case is particularly short and simple).
>
> An even nicer thing is that you can rip the function out of NetworkX and
> simply replace the G.add_edges_from(edges) part with "return igraph.Graph(n,
> edges)" to have the same algorithm in igraph as a temporary solution :)
>
Yes! :)
Raphael