I hope you can help.  I am looking for the best way to generate random bipartite graphs with localised structure within one of the node types.  Such that type A visits a local group of type B with a particular probability and then within that group connectes an edge with type be also with a particular probablity based on the attribute of nodes of type B.  Basically this is social network data where one group has a preference function that determines the probability of linking with another individual of a different type. However the choosey group os restricted in the node value distributions they see due to the localised groupings of the chosen type. Sorry I hope this question does not bore.  All programs I have tried do not allow both this localised structure by trait values as well as probability of pairing based on trait values.Best Wishes,Colin
Structured Graph Generation
ds.algorithms;network modeling;pseudorandom generators;social sciences