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
_______________________________________________ graph-tool mailing list [email protected] https://lists.skewed.de/mailman/listinfo/graph-tool
