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:

     An object of class 'graphNEL'.

_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 ( www.boost.org/libs/graph/doc/index.html )

     The Boost Graph Library: User Guide and Reference Manual; by
     Jeremy G. Siek, Lie-Quan Lee, and Andrew Lumsdaine;
     (Addison-Wesley, Pearson Education Inc., 2002), xxiv+321pp. ISBN
     0-201-72914-8

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

     con <- file(system.file("XML/dijkex.gxl",package="RBGL"))
     coex <- fromGXL(con)
     close(con)

     transitive.closure(coex)

