diff -r 218171dc022d -r c5cd8960df74 lemon/cost_scaling.h --- a/lemon/cost_scaling.h Mon Aug 05 14:21:58 2013 +0200 +++ b/lemon/cost_scaling.h Tue Aug 06 05:38:49 2013 +0200 @@ -97,7 +97,7 @@ /// can be viewed as the generalization of the \ref Preflow /// "preflow push-relabel" algorithm for the maximum flow problem. /// It is a polynomial algorithm, its running time complexity is - /// \f$O(n^2e\log(nK))\f$, where K denotes the maximum arc cost. + /// \f$O(n^2m\log(nK))\f$, where K denotes the maximum arc cost. /// /// In general, \ref NetworkSimplex and \ref CostScaling are the fastest /// implementations available in LEMON for solving this problem. @@ -670,7 +670,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,