lemon/preflow.h
changeset 425 cace3206223b
parent 393 37054b67d807
child 440 88ed40ad0d4f
equal deleted inserted replaced
4:492580ed5f8a 5:4f54eb939ecb
   364     ///
   364     ///
   365     /// Returns a const reference to the elevator.
   365     /// Returns a const reference to the elevator.
   366     ///
   366     ///
   367     /// \pre Either \ref run() or \ref init() must be called before
   367     /// \pre Either \ref run() or \ref init() must be called before
   368     /// using this function.
   368     /// using this function.
   369     const Elevator& elevator() {
   369     const Elevator& elevator() const {
   370       return *_level;
   370       return *_level;
   371     }
   371     }
   372 
   372 
   373     /// \brief Sets the tolerance used by algorithm.
   373     /// \brief Sets the tolerance used by algorithm.
   374     ///
   374     ///
   916     /// Returns a const reference to the arc map storing the found flow.
   916     /// Returns a const reference to the arc map storing the found flow.
   917     /// This method can be called after the second phase of the algorithm.
   917     /// This method can be called after the second phase of the algorithm.
   918     ///
   918     ///
   919     /// \pre Either \ref run() or \ref init() must be called before
   919     /// \pre Either \ref run() or \ref init() must be called before
   920     /// using this function.
   920     /// using this function.
   921     const FlowMap& flowMap() {
   921     const FlowMap& flowMap() const {
   922       return *_flow;
   922       return *_flow;
   923     }
   923     }
   924 
   924 
   925     /// \brief Returns \c true when the node is on the source side of the
   925     /// \brief Returns \c true when the node is on the source side of the
   926     /// minimum cut.
   926     /// minimum cut.