igraph-help
[Top][All Lists]
Advanced

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

[igraph] Generate bipartite graph with specified degree distribution [Ag


From: Caio Santos
Subject: [igraph] Generate bipartite graph with specified degree distribution [Again]
Date: Fri, 17 May 2013 20:40:17 -0300

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



reply via email to

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