isAdjacent-methods           package:graph           R Documentation

_D_e_t_e_r_m_i_n_e _i_f _n_o_d_e_s _s_h_a_r_e _a_n _e_d_g_e _i_n _a _g_r_a_p_h

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

     For a given subclass of 'graph-class', returns 'TRUE' if the graph
     contains an edge from node specified by 'from' to the node
     specified by 'to'.

     The appropriate logical vector will be returned as long as 'from'
     and 'to' have the same length and contain nodes in the graph
     object specified by 'object'.

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

     isAdjacent(object, from, to, ...)

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

  object: An instance of a subclass of 'graph-class'.

    from: A 'character' vector of nodes in the graph.

      to: A 'character' vector of nodes in the graph

     ...: May be used by methods called on subclasses of 'graph'

