(self, source, target, capacity=None)
return [
            Cut(self, value, cut=cut, partition=part) for cut, part in zip(cuts, parts)
        ]
\
        Returns all the mincuts between the source and target vertices in a
        directed graph.

        This function lists all minimum edge-cuts between a source and a target
        vertex.

        @param source: the source vertex ID
        @param target: the target vertex ID
        @param capacity: the edge capacities (weights). If C{None}, all
          edges have equal weight. May also be an attribute name.
        @return: a list of L{Cut} objects.

        @newfield ref: Reference
        @ref: JS Provan and DR Shier: A paradigm for listing (s,t)-cuts in
          graphs. Algorithmica 15, 351--372, 1996.
\
        Returns all the mincuts between the source and target vertices in a
        directed graph.
\ Returns all the mincuts between the source and target vertices in a directed graph .
def all_st_mincuts(self, source, target, capacity=None):
        """\
        Returns all the mincuts between the source and target vertices in a
        directed graph.

        This function lists all minimum edge-cuts between a source and a target
        vertex.

        @param source: the source vertex ID
        @param target: the target vertex ID
        @param capacity: the edge capacities (weights). If C{None}, all
          edges have equal weight. May also be an attribute name.
        @return: a list of L{Cut} objects.

        @newfield ref: Reference
        @ref: JS Provan and DR Shier: A paradigm for listing (s,t)-cuts in
          graphs. Algorithmica 15, 351--372, 1996.
        """
        value, cuts, parts = GraphBase.all_st_mincuts(self, source, target, capacity)
        return [
            Cut(self, value, cut=cut, partition=part) for cut, part in zip(cuts, parts)
        ]
def all_st_mincuts ( self , source , target , capacity = None ) : value , cuts , parts = GraphBase . all_st_mincuts ( self , source , target , capacity ) return [ Cut ( self , value , cut = cut , partition = part ) for cut , part in zip ( cuts , parts ) ]