diff -r 218171dc022d -r c5cd8960df74 lemon/cycle_canceling.h --- a/lemon/cycle_canceling.h Mon Aug 05 14:21:58 2013 +0200 +++ b/lemon/cycle_canceling.h Tue Aug 06 05:38:49 2013 +0200 @@ -51,7 +51,7 @@ /// \cite goldberg89cyclecanceling. /// The most efficent one is the \ref CANCEL_AND_TIGHTEN /// "Cancel-and-Tighten" algorithm, thus it is the default method. - /// It runs in strongly polynomial time O(n2e2log(n)), + /// It runs in strongly polynomial time O(n2m2log(n)), /// but in practice, it is typically orders of magnitude slower than /// the scaling algorithms and \ref NetworkSimplex. /// (For more information, see \ref min_cost_flow_algs "the module page".) @@ -133,13 +133,13 @@ /// well-known strongly polynomial method /// \cite goldberg89cyclecanceling. It improves along a /// \ref min_mean_cycle "minimum mean cycle" in each iteration. - /// Its running time complexity is O(n2e3log(n)). + /// Its running time complexity is O(n2m3log(n)). MINIMUM_MEAN_CYCLE_CANCELING, /// The "Cancel-and-Tighten" algorithm, which can be viewed as an /// improved version of the previous method /// \cite goldberg89cyclecanceling. /// It is faster both in theory and in practice, its running time - /// complexity is O(n2e2log(n)). + /// complexity is O(n2m2log(n)). CANCEL_AND_TIGHTEN }; @@ -576,7 +576,7 @@ /// \brief Return the total cost of the found flow. /// /// This function returns the total cost of the found flow. - /// Its complexity is O(e). + /// Its complexity is O(m). /// /// \note The return type of the function can be specified as a /// template parameter. For example,