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