lemon/preflow.h
changeset 748 4792459983d0
parent 641 756a5ec551c8
child 689 86c49553fea5
child 891 bb70ad62c95f
equal deleted inserted replaced
12:1d77739dc169 13:1646da5e2922
   372     }
   372     }
   373 
   373 
   374     /// \brief Sets the tolerance used by algorithm.
   374     /// \brief Sets the tolerance used by algorithm.
   375     ///
   375     ///
   376     /// Sets the tolerance used by algorithm.
   376     /// Sets the tolerance used by algorithm.
   377     Preflow& tolerance(const Tolerance& tolerance) const {
   377     Preflow& tolerance(const Tolerance& tolerance) {
   378       _tolerance = tolerance;
   378       _tolerance = tolerance;
   379       return *this;
   379       return *this;
   380     }
   380     }
   381 
   381 
   382     /// \brief Returns a const reference to the tolerance.
   382     /// \brief Returns a const reference to the tolerance.
   383     ///
   383     ///
   384     /// Returns a const reference to the tolerance.
   384     /// Returns a const reference to the tolerance.
   385     const Tolerance& tolerance() const {
   385     const Tolerance& tolerance() const {
   386       return tolerance;
   386       return _tolerance;
   387     }
   387     }
   388 
   388 
   389     /// \name Execution Control
   389     /// \name Execution Control
   390     /// The simplest way to execute the preflow algorithm is to use
   390     /// The simplest way to execute the preflow algorithm is to use
   391     /// \ref run() or \ref runMinCut().\n
   391     /// \ref run() or \ref runMinCut().\n