Combinatorica Package >

RandomGraph

RandomGraph[n, p]
constructs a random labeled graph on n vertices with an edge probability of p.
  • Type->Directed produces a corresponding random directed graph.
  • The usages RandomGraph[n, p, Directed], RandomGraph[n, p, range], and RandomGraph[n, p, range, Directed] are all obsolete. Use SetEdgeWeights to set random edge weights.
© 2008 Wolfram Research, Inc. japanese.gif
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team