multiGraph-class            package:graph            R Documentation

_C_l_a_s_s "_m_u_l_t_i_G_r_a_p_h"

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

     A collection of classes to model multigraphs. These include the
     multiGraph class as well as classes to contain edge sets.

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

     Objects can be created from the 'multiGraph' class, the 'edgeSet'
     class is virtual, and particular variants should be used.

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

     These slots are for the multiGraph class.

     _n_o_d_e_s The names of the nodes.

     _e_d_g_e_L A list of edge lists.

     _n_o_d_e_D_a_t_a An instance of the 'attrData' class.

     _g_r_a_p_h_D_a_t_a A list.

     These slots are for the 'edgeSet' class, or one of its sublcasses.

     _e_d_g_e_D_a_t_a An instance of the 'attrData' class.

     _e_d_g_e_m_o_d_e A character vector, one of directed, or undirected.

     _e_d_g_e_L A list of the edges (graphNEL)

     _a_d_j_M_a_t An adjacency martix (graphAM)

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

     _s_h_o_w Print a multigraph.

     _i_s_D_i_r_e_c_t_e_d A vector indicating which of the edgeSets is directed.

     _n_o_d_e_s Retrieve the node names

     _n_u_m_N_o_d_e_s Return the number of nodes

     _e_d_g_e_s Return either all edges, or a subset of them, depending on
          the arguments supplied.

     _n_u_m_E_d_g_e_s Return a vector with the number of edges, for each edge
          set.

