lemon/circulation.h
changeset 785 9ae88e7c04a7
parent 713 4ac30454f1c1
parent 689 86c49553fea5
child 786 e20173729589
equal deleted inserted replaced
14:c0e304f463b2 15:e2b384be31c7
   455     /// using this function.
   455     /// using this function.
   456     const Elevator& elevator() const {
   456     const Elevator& elevator() const {
   457       return *_level;
   457       return *_level;
   458     }
   458     }
   459 
   459 
   460     /// \brief Sets the tolerance used by algorithm.
   460     /// \brief Sets the tolerance used by the algorithm.
   461     ///
   461     ///
   462     /// Sets the tolerance used by algorithm.
   462     /// Sets the tolerance object used by the algorithm.
   463     Circulation& tolerance(const Tolerance& tolerance) const {
   463     /// \return <tt>(*this)</tt>
       
   464     Circulation& tolerance(const Tolerance& tolerance) {
   464       _tol = tolerance;
   465       _tol = tolerance;
   465       return *this;
   466       return *this;
   466     }
   467     }
   467 
   468 
   468     /// \brief Returns a const reference to the tolerance.
   469     /// \brief Returns a const reference to the tolerance.
   469     ///
   470     ///
   470     /// Returns a const reference to the tolerance.
   471     /// Returns a const reference to the tolerance object used by
       
   472     /// the algorithm.
   471     const Tolerance& tolerance() const {
   473     const Tolerance& tolerance() const {
   472       return tolerance;
   474       return _tol;
   473     }
   475     }
   474 
   476 
   475     /// \name Execution Control
   477     /// \name Execution Control
   476     /// The simplest way to execute the algorithm is to call \ref run().\n
   478     /// The simplest way to execute the algorithm is to call \ref run().\n
   477     /// If you need better control on the initial solution or the execution,
   479     /// If you need better control on the initial solution or the execution,