Changes in lemon/circulation.h [688:756a5ec551c8:833:e20173729589] in lemon
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/circulation.h
r688 r833 73 73 /// It must conform to the \ref concepts::ReadWriteMap "ReadWriteMap" 74 74 /// concept. 75 #ifdef DOXYGEN 76 typedef GR::ArcMap<Value> FlowMap; 77 #else 75 78 typedef typename Digraph::template ArcMap<Value> FlowMap; 79 #endif 76 80 77 81 /// \brief Instantiates a FlowMap. … … 88 92 /// The elevator type used by the algorithm. 89 93 /// 90 /// \sa Elevator 91 /// \sa LinkedElevator 94 /// \sa Elevator, LinkedElevator 95 #ifdef DOXYGEN 96 typedef lemon::Elevator<GR, GR::Node> Elevator; 97 #else 92 98 typedef lemon::Elevator<Digraph, typename Digraph::Node> Elevator; 99 #endif 93 100 94 101 /// \brief Instantiates an Elevator. … … 300 307 /// able to automatically created by the algorithm (i.e. the 301 308 /// digraph and the maximum level should be passed to it). 302 /// However an external elevator object could also be passed to the309 /// However, an external elevator object could also be passed to the 303 310 /// algorithm with the \ref elevator(Elevator&) "elevator()" function 304 311 /// before calling \ref run() or \ref init(). … … 451 458 } 452 459 453 /// \brief Sets the tolerance used by algorithm. 454 /// 455 /// Sets the tolerance used by algorithm. 456 Circulation& tolerance(const Tolerance& tolerance) const { 460 /// \brief Sets the tolerance used by the algorithm. 461 /// 462 /// Sets the tolerance object used by the algorithm. 463 /// \return <tt>(*this)</tt> 464 Circulation& tolerance(const Tolerance& tolerance) { 457 465 _tol = tolerance; 458 466 return *this; … … 461 469 /// \brief Returns a const reference to the tolerance. 462 470 /// 463 /// Returns a const reference to the tolerance. 471 /// Returns a const reference to the tolerance object used by 472 /// the algorithm. 464 473 const Tolerance& tolerance() const { 465 return tolerance;474 return _tol; 466 475 } 467 476 468 477 /// \name Execution Control 469 478 /// The simplest way to execute the algorithm is to call \ref run().\n 470 /// If you need morecontrol on the initial solution or the execution,471 /// first you have to call one of the \ref init() functions, then479 /// If you need better control on the initial solution or the execution, 480 /// you have to call one of the \ref init() functions first, then 472 481 /// the \ref start() function. 473 482
Note: See TracChangeset
for help on using the changeset viewer.