graphGenerator             package:RBGL             R Documentation

_G_e_n_e_r_a_t_e _a_n _u_n_d_i_r_e_c_t_e_d _g_r_a_p_h _w_i_t_h _a_d_j_u_s_t_a_b_l_e _c_l_u_s_t_e_r_i_n_g _c_o_e_f_f_i_c_i_e_n_t

_D_e_s_c_r_i_p_t_i_o_n:

     Generate an undirected graph with adjustable clustering
     coefficient

_U_s_a_g_e:

     graphGenerator(n, d, o)

_A_r_g_u_m_e_n_t_s:

       n: no. of nodes in the generated graph

       d: parameter for preferential attachment

       o: parameter for triple generation

_D_e_t_a_i_l_s:

     The graph generator works according to the prefential attachment
     rule.  It also generates graphs with adjustable clustering
     coefficient.  Parameter 'd' specifies how many preferred edges a
     new node has.  Parameter 'o' limits how many triples to add to a
     new node.

     See reference for details.

_V_a_l_u_e:

no. of nodes: No. of nodes in the generated graph

no. of edges: No. of edges in the generated graph

   edges: Edges in the generated graph

_A_u_t_h_o_r(_s):

     Li Long <li.long@isb-sib.ch>

_R_e_f_e_r_e_n_c_e_s:

     Approximating Clustering Coefficient and Transitivity, T. Schank,
     D. Wagner,  Journal of Graph Algorithms and Applications, Vol. 9,
     No. 2 (2005).

_S_e_e _A_l_s_o:

     clusteringCoef, transitivity, clusteringCoefAppr

_E_x_a_m_p_l_e_s:

     n <- 20
     d <- 6
     o <- 3
     gg <- graphGenerator(n, d, o)

