net.ring.lattice: _k_ - regular ring lattice

Description Usage Arguments Details Value Author(s) References Examples

View source: R/net.ring.lattice.R

Description

Simulate a network with a k -regular ring lattice structure.

Usage

1

Arguments

n

Number of nodes in the network.

k

Number of edges per node.

Details

The n nodes are placed on a circle and each node is connected to the nearest k neighbors.

Value

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

Author(s)

Xu Dong, Nazrul Shaikh

References

Duncan J Watts and Steven H Strogatz: Collective dynamics of 'small world' networks, Nature 393, 440-442, 1998.

Examples

1
2
3
## Not run: 
x <- net.ring.lattice(1000, 10)
## End(Not run)

fastnet documentation built on Jan. 13, 2021, 5:28 p.m.