Changes in lemon/hartmann_orlin.h [859:921d5bf41ac2:914:aa8c9008b3de] in lemon
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/hartmann_orlin.h
r859 r914 107 107 /// \tparam LEN The type of the length map. The default 108 108 /// map type is \ref concepts::Digraph::ArcMap "GR::ArcMap<int>". 109 /// \tparam TR The traits class that defines various types used by the 110 /// algorithm. By default, it is \ref HartmannOrlinDefaultTraits 111 /// "HartmannOrlinDefaultTraits<GR, LEN>". 112 /// In most cases, this parameter should not be set directly, 113 /// consider to use the named template parameters instead. 109 114 #ifdef DOXYGEN 110 115 template <typename GR, typename LEN, typename TR> … … 128 133 /// 129 134 /// The large value type used for internal computations. 130 /// Using the \ref HartmannOrlinDefaultTraits "default traits class", 131 /// it is \c long \c long if the \c Value type is integer, 135 /// By default, it is \c long \c long if the \c Value type is integer, 132 136 /// otherwise it is \c double. 133 137 typedef typename TR::LargeValue LargeValue; … … 402 406 /// \pre \ref run() or \ref findMinMean() must be called before 403 407 /// using this function. 404 LargeValue cycleLength() const {405 return _best_length;408 Value cycleLength() const { 409 return static_cast<Value>(_best_length); 406 410 } 407 411
Note: See TracChangeset
for help on using the changeset viewer.