randomGraph: Generate a random graph

Description Usage Arguments Value Examples

Description

Generate a random graph based on the given dimension size and average indegree

Usage

1
randomGraph(dim, indegree, maxite = 10000)

Arguments

dim

The dimension of the random graph

indegree

The average indegree of random graph for each nodes

maxite

The maximum iterations to find the random graph

Value

Return a random graph

Examples

1
randomGraph(dim=10,indegree=1)

SELF documentation built on May 2, 2019, 8:35 a.m.