COIN-OR::LEMON - Graph Library

Changes in / [859:ac5f72c48367:861:ab21ca093745] in lemon-main


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/hao_orlin.h

    r597 r860  
    166166    }
    167167
     168    /// \brief Set the tolerance used by the algorithm.
     169    ///
     170    /// This function sets the tolerance object used by the algorithm.
     171    /// \return <tt>(*this)</tt>
     172    HaoOrlin& tolerance(const Tolerance& tolerance) {
     173      _tolerance = tolerance;
     174      return *this;
     175    }
     176
     177    /// \brief Returns a const reference to the tolerance.
     178    ///
     179    /// This function returns a const reference to the tolerance object
     180    /// used by the algorithm.
     181    const Tolerance& tolerance() const {
     182      return _tolerance;
     183    }
     184
    168185  private:
    169186
Note: See TracChangeset for help on using the changeset viewer.