English
Languages
English
Bengali
Japanese
Shortcuts



GraphOptimizationApplication.random_graph

static GraphOptimizationApplication.random_graph(num_nodes, num_edges, seed=None)[source]
Parameters
  • num_nodes (int) – The number of nodes in a graph

  • num_edges (int) – The number of edges in a graph

  • seed (Optional[int]) – seed for a random graph

Return type

Graph

Returns

A random graph of NetworkX