transitive.closure           package:RBGL           R Documentation

_C_o_m_p_u_t_e _t_r_a_n_s_i_t_i_v_e _c_l_o_s_u_r_e _o_f _a _d_i_r_e_c_t_e_d _g_r_a_p_h

_D_e_s_c_r_i_p_t_i_o_n:

     Compute  transitive closure of a directed graph

_U_s_a_g_e:

     transitive.closure(g)

_A_r_g_u_m_e_n_t_s:

       g: an instance of the 'graph' class 

_D_e_t_a_i_l_s:

     This function calculates the transitive closure of a directed
     graph.   See documentation on this function in Boost Graph Library
     for more details.

_V_a_l_u_e:

     A list of 

vertices: the vertices of the transitive closure 

   edges: the edges of the transitive closure 

_A_u_t_h_o_r(_s):

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

_R_e_f_e_r_e_n_c_e_s:

     Boost Graph Library by Siek et al.

_S_e_e _A_l_s_o:

_E_x_a_m_p_l_e_s:

     coex <- fromGXL(file(system.file("XML/dijkex.gxl",package="RBGL"), open="r"))
     transitive.closure(coex)

