21 Nov
2019
21 Nov
'19
9:37 p.m.
Hi, Is this the right way to maintain the bipartite property of a graph for using the configuration model? Node labels are stored in type (true/false for the two classes). gt.random_rewire(g, model ='constrained-configuration' , n_iter = 1, block_membership = g.vp.type) Best, Patrick