This documents an unmaintained version of NetworkX. Please upgrade to a maintained version and see the current NetworkX documentation.
duplication_divergence_graph(n, p, seed=None)¶
Returns an undirected graph using the duplication-divergence model.
A graph of
nnodes is created by duplicating the initial nodes and retaining edges incident to the original nodes with a retention probability
Return type: Raises:
NetworkXError– If is not a valid probability. If is less than 2.
 I. Ispolatov, P. L. Krapivsky, A. Yuryev, “Duplication-divergence model of protein interaction network”, Phys. Rev. E, 71, 061911, 2005.