COIN-OR::LEMON - Graph Library

Changeset 914:aa8c9008b3de in lemon for lemon/howard.h


Ignore:
Timestamp:
02/26/10 23:53:09 (14 years ago)
Author:
Peter Kovacs <kpeter@…>
Branch:
default
Phase:
public
Message:

Better return type for cycleLength() functions (#179)
in the min mean cycle algorithms.

The original Value type is used instead of the LargeValue? type,
which is introduced for internal computations.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/howard.h

    r891 r914  
    385385    /// \pre \ref run() or \ref findMinMean() must be called before
    386386    /// using this function.
    387     LargeValue cycleLength() const {
    388       return _best_length;
     387    Value cycleLength() const {
     388      return static_cast<Value>(_best_length);
    389389    }
    390390
Note: See TracChangeset for help on using the changeset viewer.