rand_bounded_deg_graph: Random graph generation

Description Usage Arguments

View source: R/rand_bounded_deg_graph.R

Description

This function uses the rand_bounded_deg_graph_aux() to generate a random undirected graph for a given maximum degree. The maximum degree may not be reached. This function uses try() to catch error when there is no consistent graph for a sampled degree sequence. There is always an output from this function.

Usage

1

Arguments

n

The number of nodes in the graph.

delta

The maximum degree in the graph.


kelvinyangli/wrsgraph documentation built on Sept. 6, 2019, 10 a.m.