simpleEdge-class            package:graph            R Documentation

_C_l_a_s_s "_s_i_m_p_l_e_E_d_g_e".

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

     A simple class for representing edges in graphs.

_O_b_j_e_c_t_s _f_r_o_m _t_h_e _C_l_a_s_s:

     Objects can be created by calls of the form 'new("simpleEdge",
     ...)'.

_S_l_o_t_s:


     '_e_d_g_e_T_y_p_e': Object of class '"character"'; the type of the edge.

     '_w_e_i_g_h_t': Object of class '"numeric"'; the edge weight.

     '_d_i_r_e_c_t_e_d': Object of class '"logical"'; is the edge directed. 

     '_b_N_o_d_e': Object of class '"character"'; the beginning node. 

     '_e_N_o_d_e': Object of class '"character"'; the ending node. 

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

     No methods defined with class "simpleEdge" in the signature.

_N_o_t_e:

     All slots are length one vectors (this is not currently checked
     for). If the edge is not directed there is no real meaning to the
     concepts of beginning node or ending node and these should not be
     interpreted as such.

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

     R. Gentleman

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

       new("simpleEdge", bNode="A", eNode="D")

