Scilab Function
Last update : 5/9/2006

bet - calculate the betweenness centrality of nodes in graph

### Calling Sequence

  `c = bet(tran)`

### Parameters

- `tran` : the matrix translated by the function Tran
- `c` : row vector of the betweenness of nodes of the graph (its size is the number of nodes of the graph)

### Description

  bet calculates the betweenness using the faster algorithm, tran is one translated structure of a graph like the adjacency link.

### Examples

    	  [a b]=ba(6,4,9994);
    	  tmp=tran(a,b,10000);
    	  betweenss=bet(tmp);

### See Also

`tran` ,

### Authors

  Wubo