lemon/network_simplex.h
changeset 2591 3b4d5bc3b4fb
parent 2581 054566ac0934
child 2593 8eed667ea23c
equal deleted inserted replaced
11:1e721137087f 12:616daeef198f
   774     /// \pre \ref run() must be called before using this function.
   774     /// \pre \ref run() must be called before using this function.
   775     const PotentialMap& potentialMap() const {
   775     const PotentialMap& potentialMap() const {
   776       return *_potential_result;
   776       return *_potential_result;
   777     }
   777     }
   778 
   778 
   779     /// \brief Returns the flow on the edge.
   779     /// \brief Returns the flow on the given edge.
   780     ///
   780     ///
   781     /// Returns the flow on the edge.
   781     /// Returns the flow on the given edge.
   782     ///
   782     ///
   783     /// \pre \ref run() must be called before using this function.
   783     /// \pre \ref run() must be called before using this function.
   784     Capacity flow(const typename Graph::Edge& edge) const {
   784     Capacity flow(const typename Graph::Edge& edge) const {
   785       return (*_flow_result)[edge];
   785       return (*_flow_result)[edge];
   786     }
   786     }
   787 
   787 
   788     /// \brief Returns the potential of the node.
   788     /// \brief Returns the potential of the given node.
   789     ///
   789     ///
   790     /// Returns the potential of the node.
   790     /// Returns the potential of the given node.
   791     ///
   791     ///
   792     /// \pre \ref run() must be called before using this function.
   792     /// \pre \ref run() must be called before using this function.
   793     Cost potential(const typename Graph::Node& node) const {
   793     Cost potential(const typename Graph::Node& node) const {
   794       return (*_potential_result)[node];
   794       return (*_potential_result)[node];
   795     }
   795     }