Scilab Function
Last update : 5/9/2006

ws - create the WS small world model

Calling Sequence

[a,b] = ws(N,K,P)

Parameters

Description

ws creates the WS small-world network. N is the network size, K is the average degree, P is the rewired probability. Note the K must is even here.

Examples

	  [a b]=ws(10000,3,0.5);
	  g=make_graph('ws',0,10000,a,b);
  

See Also

er ,   ba ,   bbv ,   sba ,  

Authors

Wubo