Thanks Tiago!

On Tuesday, 16 April 2013 22:49:26 UTC+2, Tiago Peixoto wrote:
On 04/16/2013 05:18 PM, Matthias Ekman wrote:
> Hi all,
>
> what is the best way to generate a random graph from a given degree sequence?
>

    degs = [7, 4, 3, 4, 8, 5, 9, 7, 4, 1]
    g = random_graph(10, lambda i: degs[i], directed=False)

Cheers,
Tiago


--
Tiago de Paula Peixoto <ti...@skewed.de>


_______________________________________________
graph-tool mailing list
graph...@skewed.de
http://lists.skewed.de/mailman/listinfo/graph-tool