equal
deleted
inserted
replaced
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 |