lemon/hartmann_orlin_mmc.h
changeset 1080 c5cd8960df74
parent 1074 97d978243703
child 1092 dceba191c00d
equal deleted inserted replaced
6:a7adaba8e440 7:9221a011bf4d
   100   /// a directed cycle of minimum mean cost in a digraph
   100   /// a directed cycle of minimum mean cost in a digraph
   101   /// \cite hartmann93finding, \cite dasdan98minmeancycle.
   101   /// \cite hartmann93finding, \cite dasdan98minmeancycle.
   102   /// This method is based on \ref KarpMmc "Karp"'s original algorithm, but
   102   /// This method is based on \ref KarpMmc "Karp"'s original algorithm, but
   103   /// applies an early termination scheme. It makes the algorithm
   103   /// applies an early termination scheme. It makes the algorithm
   104   /// significantly faster for some problem instances, but slower for others.
   104   /// significantly faster for some problem instances, but slower for others.
   105   /// The algorithm runs in time O(ne) and uses space O(n<sup>2</sup>+e).
   105   /// The algorithm runs in time O(nm) and uses space O(n<sup>2</sup>+m).
   106   ///
   106   ///
   107   /// \tparam GR The type of the digraph the algorithm runs on.
   107   /// \tparam GR The type of the digraph the algorithm runs on.
   108   /// \tparam CM The type of the cost map. The default
   108   /// \tparam CM The type of the cost map. The default
   109   /// map type is \ref concepts::Digraph::ArcMap "GR::ArcMap<int>".
   109   /// map type is \ref concepts::Digraph::ArcMap "GR::ArcMap<int>".
   110   /// \tparam TR The traits class that defines various types used by the
   110   /// \tparam TR The traits class that defines various types used by the