net.complete: Complete Network

Description Usage Arguments Details Value Author(s) Examples

Description

Simulate a complete (or full) network.

Usage

1
net.complete(n, ncores = detectCores())

Arguments

n

Number of nodes of the network.

ncores

Number of cores, by default detectCores() from parallel.

Details

The n nodes in the network are fully connected.

Note that the input n should not excess 10000, for the sake of memory overflow.

Value

A list containing the nodes of the network and their respective neighbors.

Author(s)

Xu Dong, Nazrul Shaikh.

Examples

1
2
3
## Not run: 
x <- net.complete(1000) #using ncores by default
## End(Not run)

networkgroupR/fastnet documentation built on May 23, 2019, 1:32 p.m.