Scilab Function
Last update : 5/9/2006

er - create the ER random graph

### Calling Sequence

  `[a,b] = er(N,K)`

### Parameters

- `N` : integer
- `K` : integer
- `a` : row vector of the numbers of the tail nodes of the graph (its size is the number of edges of the graph)
- `b` : row vector of the numbers of the head nodes of the graph (its size is the number of edges of the graph)

### Description

  er creates one ER random graph. N is the network size, K is the average degree of ER graph.

### Examples

    	  [a b]=er(1000,2);
    	  g=make_graph('er',0,1000,a,b);

### See Also

`ba` , `ws` , `bbv` , `sba` ,

### Authors

  Wubo