COIN-OR::LEMON - Graph Library

Ticket #463: 463-9d1616d708ee.patch

File 463-9d1616d708ee.patch, 1.6 KB (added by Peter Kovacs, 11 years ago)
  • lemon/cycle_canceling.h

    # 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  
    5151  /// \cite goldberg89cyclecanceling.
    5252  /// The most efficent one is the \ref CANCEL_AND_TIGHTEN
    5353  /// "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$,
    5555  /// but in practice, it is typically orders of magnitude slower than
    5656  /// the scaling algorithms and \ref NetworkSimplex.
    5757  /// (For more information, see \ref min_cost_flow_algs "the module page".)
     
    133133      /// well-known strongly polynomial method
    134134      /// \cite goldberg89cyclecanceling. It improves along a
    135135      /// \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$.
    137137      MINIMUM_MEAN_CYCLE_CANCELING,
    138138      /// The "Cancel-and-Tighten" algorithm, which can be viewed as an
    139139      /// improved version of the previous method
    140140      /// \cite goldberg89cyclecanceling.
    141141      /// 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$.
    143143      CANCEL_AND_TIGHTEN
    144144    };
    145145