Changeset 450:14bb8812b8af in lemon-main
- Timestamp:
- 01/09/09 12:43:52 (16 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/adaptors.h
r449 r450 2657 2657 }; 2658 2658 2659 /// \brief Returns a residual capacity map 2660 /// 2661 /// This function just returns a residual capacity map. 2662 ResidualCapacity residualCapacity() const { 2663 return ResidualCapacity(*this); 2664 } 2665 2659 2666 }; 2667 2668 /// \brief Returns a (read-only) Residual adaptor 2669 /// 2670 /// This function just returns a (read-only) \ref Residual adaptor. 2671 /// \ingroup graph_adaptors 2672 /// \relates Residual 2673 template<typename Digraph, typename CapacityMap, typename FlowMap> 2674 Residual<Digraph, CapacityMap, FlowMap> 2675 residual(const Digraph& digraph, 2676 const CapacityMap& capacity, 2677 FlowMap& flow) 2678 { 2679 return Residual<Digraph, CapacityMap, FlowMap> (digraph, capacity, flow); 2680 } 2681 2660 2682 2661 2683 template <typename _Digraph>
Note: See TracChangeset
for help on using the changeset viewer.