def maximum_flow(G, s, t, capacity='capacity', flow_func=None, **kwargs):
    if flow_func is None:
        if kwargs:
            raise nx.NetworkXError("You have to explicitly set a flow_func if"
                                   " you need to pass parameters via kwargs.")
        flow_func = default_flow_func

    if not callable(flow_func):
        raise nx.NetworkXError("flow_func has to be callable.")

    R = flow_func(G, s, t, capacity=capacity, value_only=False, **kwargs)
    flow_dict = build_flow_dict(G, R)

    return (R.graph['flow_value'], flow_dict)
Returns the Associated Press abbreviated month name for the supplied numeric value.
dataset/ETHPy150Open networkx/networkx/networkx/algorithms/flow/maxflow.py/maximum_flow--crossover with--dataset/ETHPy150Open ithinksw/philo/philo/contrib/penfield/templatetags/penfield.py/apmonthname