[Lemon-commits] Peter Kovacs: Use latex formatting for non-trivi...
Lemon HG
hg at lemon.cs.elte.hu
Tue Aug 6 18:04:54 CEST 2013
details: http://lemon.cs.elte.hu/hg/lemon/rev/9d1616d708ee
changeset: 1255:9d1616d708ee
user: Peter Kovacs <kpeter [at] inf.elte.hu>
date: Tue Aug 06 05:48:18 2013 +0200
description:
Use latex formatting for non-trivial O() expressions (#463)
diffstat:
lemon/cycle_canceling.h | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (28 lines):
diff --git a/lemon/cycle_canceling.h b/lemon/cycle_canceling.h
--- a/lemon/cycle_canceling.h
+++ b/lemon/cycle_canceling.h
@@ -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(n<sup>2</sup>m<sup>2</sup>log(n)),
+ /// It runs in strongly polynomial time \f$O(n^2 m^2 \log n)\f$,
/// 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(n<sup>2</sup>m<sup>3</sup>log(n)).
+ /// Its running time complexity is \f$O(n^2 m^3 \log n)\f$.
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(n<sup>2</sup>m<sup>2</sup>log(n)).
+ /// complexity is \f$O(n^2 m^2 \log n)\f$.
CANCEL_AND_TIGHTEN
};
More information about the Lemon-commits
mailing list