# HG changeset patch # User Peter Kovacs # Date 2010-02-09 23:29:51 # Node ID a7e93de12cbda2267756b130476b8e84572002bf # Parent f903263902f6831f14205dab9f1d00cb5275e171 Add a warning about huge capacities in Preflow (#319) diff --git a/lemon/preflow.h b/lemon/preflow.h --- a/lemon/preflow.h +++ b/lemon/preflow.h @@ -113,6 +113,9 @@ /// the maximum flow value and the minimum cut is obtained. The /// second phase constructs a feasible maximum flow on each arc. /// + /// \warning This implementation cannot handle infinite or very large + /// capacities (e.g. the maximum value of \c CAP::Value). + /// /// \tparam GR The type of the digraph the algorithm runs on. /// \tparam CAP The type of the capacity map. The default map /// type is \ref concepts::Digraph::ArcMap "GR::ArcMap".