Changes in lemon/preflow.h [762:ece80147fb08:760:4ac30454f1c1] in lemon
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/preflow.h
r762 r760 105 105 /// "flow of maximum value" in a digraph. 106 106 /// The preflow algorithms are the fastest known maximum 107 /// flow algorithms. The current implementation use sa mixture of the107 /// flow algorithms. The current implementation use a mixture of the 108 108 /// \e "highest label" and the \e "bound decrease" heuristics. 109 109 /// The worst case time complexity of the algorithm is \f$O(n^2\sqrt{e})\f$. … … 379 379 } 380 380 381 /// \brief Sets the tolerance used by the algorithm. 382 /// 383 /// Sets the tolerance object used by the algorithm. 384 /// \return <tt>(*this)</tt> 385 Preflow& tolerance(const Tolerance& tolerance) { 381 /// \brief Sets the tolerance used by algorithm. 382 /// 383 /// Sets the tolerance used by algorithm. 384 Preflow& tolerance(const Tolerance& tolerance) const { 386 385 _tolerance = tolerance; 387 386 return *this; … … 390 389 /// \brief Returns a const reference to the tolerance. 391 390 /// 392 /// Returns a const reference to the tolerance object used by 393 /// the algorithm. 391 /// Returns a const reference to the tolerance. 394 392 const Tolerance& tolerance() const { 395 return _tolerance;393 return tolerance; 396 394 } 397 395
Note: See TracChangeset
for help on using the changeset viewer.