# HG changeset patch
# User Peter Kovacs <kpeter@inf.elte.hu>
# Date 1375760898 -7200
# Node ID 9d1616d708eecddc45a2b2310fe8d615d199f645
# Parent c5cd8960df7431aceee364cceeedeafccafe3360
Use latex formatting for non-trivial O() expressions (#463)
diff --git a/lemon/cycle_canceling.h b/lemon/cycle_canceling.h
|
a
|
b
|
|
| 51 | 51 | /// \cite goldberg89cyclecanceling. |
| 52 | 52 | /// The most efficent one is the \ref CANCEL_AND_TIGHTEN |
| 53 | 53 | /// "Cancel-and-Tighten" algorithm, thus it is the default method. |
| 54 | | /// It runs in strongly polynomial time O(n<sup>2</sup>m<sup>2</sup>log(n)), |
| | 54 | /// It runs in strongly polynomial time \f$O(n^2 m^2 \log n)\f$, |
| 55 | 55 | /// but in practice, it is typically orders of magnitude slower than |
| 56 | 56 | /// the scaling algorithms and \ref NetworkSimplex. |
| 57 | 57 | /// (For more information, see \ref min_cost_flow_algs "the module page".) |
| … |
… |
|
| 133 | 133 | /// well-known strongly polynomial method |
| 134 | 134 | /// \cite goldberg89cyclecanceling. It improves along a |
| 135 | 135 | /// \ref min_mean_cycle "minimum mean cycle" in each iteration. |
| 136 | | /// Its running time complexity is O(n<sup>2</sup>m<sup>3</sup>log(n)). |
| | 136 | /// Its running time complexity is \f$O(n^2 m^3 \log n)\f$. |
| 137 | 137 | MINIMUM_MEAN_CYCLE_CANCELING, |
| 138 | 138 | /// The "Cancel-and-Tighten" algorithm, which can be viewed as an |
| 139 | 139 | /// improved version of the previous method |
| 140 | 140 | /// \cite goldberg89cyclecanceling. |
| 141 | 141 | /// It is faster both in theory and in practice, its running time |
| 142 | | /// complexity is O(n<sup>2</sup>m<sup>2</sup>log(n)). |
| | 142 | /// complexity is \f$O(n^2 m^2 \log n)\f$. |
| 143 | 143 | CANCEL_AND_TIGHTEN |
| 144 | 144 | }; |
| 145 | 145 | |