Hyperedge-class          package:hypergraph          R Documentation

_C_l_a_s_s _H_y_p_e_r_e_d_g_e

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

     A Hyperedge object represents a hyperedge in a hypergraph, that
     is, a subset of the nodes of a hypergraph.

_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("Hyperedge",
     nodes, label)'. You can also use the convenience function
     'Hyperedge' to create instances.  This is especially useful for
     creating a list of 'Hyperedge' instances using 'lapply'.

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


     '_h_e_a_d': A vector of mode '"character"' containing the node labels
          that are a part of the hyperedge

     '_l_a_b_e_l': An arbitrary '"character"' string describing this
          hyperedge 

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


     _i_n_i_t_i_a_l_i_z_e 'signature(.Object = "Hyperedge")': Create an instance

     _l_a_b_e_l 'signature(object = "Hyperedge")': Return the value of the
          'label' slot 

     _l_a_b_e_l<- 'signature(object = "Hyperedge", value = "character")':
          Set the label slot.

     _n_o_d_e_s 'signature(object = "Hyperedge")': Return a vector
          containing the nodes in the hyperedge 

     _s_h_o_w 'signature(object = "Hyperedge")': Print a textual summary of
          the hyperedge 

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

     Seth Falcon

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

     'Hyperedge' 'Hypergraph-class' 'DirectedHyperedge-class'

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

     nodes <- LETTERS[1:4]
     label <- "Simple hyperedge"
     ## Use the convenience constructor
     he <- Hyperedge(nodes, label)

