edgeList-class            package:giRaph            R Documentation

_C_l_a_s_s "_e_d_g_e_L_i_s_t"

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

     Class for multi-sets of edges

_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("edgeList",
     ...)'.

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

     '._D_a_t_a': Object of class '"list"' whose elements are of class
          '"edge"'

_E_x_t_e_n_d_s:

     Class '"list"', from data part. Class '"vector"', by class
     '"list"'.

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

     _i_n_i_t_i_a_l_i_z_e 'signature(.Object = "edgeList")': constructs a
          multi-set of edges from a list of edges

     _s_h_o_w 'signature(object = "edgeList")': dispalys a multi-set of
          edges in graph brackets (numeric codes)

     _s_h_o_w_R_e_l 'signature(object = "edgeList",code="vertexSet")':
          dispalys a multi-set of edges in graph brackets (character
          names

     _a_r_e_T_h_e_S_a_m_e 'signature(x = "edgeList", y = "edgeList")': x and y
          are the same multi-set of edges if they contain the same
          edges with the same multiplicity

     _i_s_P_r_e_s_e_n_t 'signature(el = "edge", ou = "edgeList")': tells whether
          an edge belongs to a multi-set of edges

     [ 'signature(x = "edgeList")': extracts a multi-set of edges

     + 'signature(e1 = "edgeList", e2 = "edge")': adds an (occurrence
          of an) edge to a multi-set of edges

     + 'signature(e1 = "edge", e2 = "edgeList")': adds an (occurrence
          of an) edge to a multi-set of edges

     - 'signature(e1 = "edgeList", e2 = "edge")': drops (the first
          occurrence of) an edge from a multi-set of edges

     _m_a_x_I_d 'signature(x="edgeList")': gets the maximum numeric
          identifier of a multi-set of edges

     _r_e_c_o_d_e 'signature(object =
          "edgeList",src="vertexSet",dst="vertexSet")': recodes a
          multi-sets of edges by making the numbers of its edges refer
          to another '"vertexSet"' object

     _c_o_e_r_c_e 'signature(from = "list", to = "edgeList")': constructs a
          multi-set of edges from list input

_W_a_r_n_i_n_g:

     All non-edge elements of the input list are silently discarded by
     the constructor.

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

     Jens Henrik Badsberg, Claus Dethlefsen, Luca La Rocca

_S_e_e _A_l_s_o:

     'edge-class', 'undirectedEdge-class' and 'directedEdge-class'.

