acc-methods              package:graph              R Documentation

_M_e_t_h_o_d_s _f_o_r _A_c_c_e_s_s_i_b_i_l_i_t_y _L_i_s_t_s

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

     This generic function takes an object that inherits from the
     'graph'  class and a node in that graph and returns a vector
     containing information about all other nodes that are accessible
     from the given node.

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

     The methods should return an integer vector. The 'names' of this
     vector are the nodes that are accessible from the given node. The
     values in the vector indicate how many edges between the given
     node and the node in the return vector.

_M_e_t_h_o_d_s:

     _o_b_j_e_c_t = _g_r_a_p_h An object of class graph. 

     _i_n_d_e_x An index corresponding to a node in the graph. 

