|
From: | Gábor Csárdi |
Subject: | Re: [igraph] Generate bipartite graph with specified degree distribution [Again] |
Date: | Fri, 17 May 2013 23:37:42 -0400 |
Hi,I saw a discussion about this, but i couldn't make it work.Sugestion:"In out_deg, the first n1 values should be the
degrees of the vertices in the first bucket, the next n2 values will
be zero. In in_deg, the first n1 values will be zero, the next n2
values will be the degrees of the vertices in the second bucket."
I tried this in R:g <- degree.sequence.game(out.deg = c(3, 2, 0, 0, 0, 0), in.deg = c(0, 0, 1, 1, 2, 1))
but the result is not a bipartite graph.
What am I doing wrong?Best,Caio
_______________________________________________
igraph-help mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/igraph-help
[Prev in Thread] | Current Thread | [Next in Thread] |