COIN-OR::LEMON - Graph Library

Changeset 860:930ddeafdb20 in lemon-1.2 for lemon


Ignore:
Timestamp:
03/02/10 10:03:07 (15 years ago)
Author:
Peter Kovacs <kpeter@…>
Branch:
default
Phase:
public
Message:

Add tolerance() functions for HaoOrlin? (#306)

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.