[Lemon-commits] Peter Kovacs: Fix the doc in CapacityScaling: co...

Lemon HG hg at lemon.cs.elte.hu
Fri Feb 3 11:16:31 CET 2012


details:   http://lemon.cs.elte.hu/hg/lemon/rev/eb12ad2789fc
changeset: 1137:eb12ad2789fc
user:      Peter Kovacs <kpeter [at] inf.elte.hu>
date:      Mon Jan 30 19:29:03 2012 +0100
description:
	Fix the doc in CapacityScaling: cost can be real numbers (#261)

diffstat:

 lemon/capacity_scaling.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (14 lines):

diff --git a/lemon/capacity_scaling.h b/lemon/capacity_scaling.h
--- a/lemon/capacity_scaling.h
+++ b/lemon/capacity_scaling.h
@@ -87,8 +87,8 @@
   /// consider to use the named template parameters instead.
   ///
   /// \warning Both \c V and \c C must be signed number types.
-  /// \warning All input data (capacities, supply values, and costs) must
-  /// be integer.
+  /// \warning Capacity bounds and supply values must be integer, but
+  /// arc costs can be arbitrary real numbers.
   /// \warning This algorithm does not support negative costs for
   /// arcs having infinite upper bound.
 #ifdef DOXYGEN



More information about the Lemon-commits mailing list