minCut                 package:RBGL                 R Documentation

_C_o_m_p_u_t_e _m_i_n-_c_u_t _f_o_r _a_n _u_n_d_i_r_e_c_t_e_d _g_r_a_p_h

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

     Compute min-cut for an undirected graph

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

     minCut(g)

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

       g: an instance of the 'graph' class with 'edgemode' "undirected"

_D_e_t_a_i_l_s:

     Given an undirected graph G=(V, E) of a single connected
     component, a cut is  a partition of the set of vertices into two
     non-empty subsets S and V-S, a  cost is the number of edges that
     are incident on one vertex in S and one  vertex in V-S.  The
     min-cut problem is to find a cut (S, V-S) of minimum cost.

     For simplicity, the returned subset S is the smaller of the two
     subsets.

_V_a_l_u_e:

     A list of  

  mincut: the number of edges to be severed to obtain the minimum cut

       S: the smaller subset of vertices in the minimum cut

     V-S: the other subset of vertices in the minimum cut

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

     Li Long <li.long@isb-sib.ch>

_R_e_f_e_r_e_n_c_e_s:

     Boost Graph Library by Siek et al.

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

     'edgeConnectivity'

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

     coex <- fromGXL(file(system.file("XML/conn.gxl",package="RBGL"), open="r"))
     minCut(coex)

