lemon/hartmann_orlin.h
changeset 816 e746fb14e680
parent 815 0a42883c8221
child 818 8452ca46e29a
equal deleted inserted replaced
2:dc6610a6238f 3:8cb103714333
   278         delete _cycle_path;
   278         delete _cycle_path;
   279         _local_path = false;
   279         _local_path = false;
   280       }
   280       }
   281       _cycle_path = &path;
   281       _cycle_path = &path;
   282       return *this;
   282       return *this;
       
   283     }
       
   284 
       
   285     /// \brief Set the tolerance used by the algorithm.
       
   286     ///
       
   287     /// This function sets the tolerance object used by the algorithm.
       
   288     ///
       
   289     /// \return <tt>(*this)</tt>
       
   290     HartmannOrlin& tolerance(const Tolerance& tolerance) {
       
   291       _tolerance = tolerance;
       
   292       return *this;
       
   293     }
       
   294 
       
   295     /// \brief Return a const reference to the tolerance.
       
   296     ///
       
   297     /// This function returns a const reference to the tolerance object
       
   298     /// used by the algorithm.
       
   299     const Tolerance& tolerance() const {
       
   300       return _tolerance;
   283     }
   301     }
   284 
   302 
   285     /// \name Execution control
   303     /// \name Execution control
   286     /// The simplest way to execute the algorithm is to call the \ref run()
   304     /// The simplest way to execute the algorithm is to call the \ref run()
   287     /// function.\n
   305     /// function.\n