doc/groups.dox
changeset 2514 57143c09dc20
parent 2500 9d9855af1de1
child 2530 f86f7e4eb2ba
equal deleted inserted replaced
53:df3416530a3a 54:925bc382afda
   221 \brief This group describes the algorithms for finding maximum flows.
   221 \brief This group describes the algorithms for finding maximum flows.
   222 
   222 
   223 This group describes the algorithms for finding maximum flows and
   223 This group describes the algorithms for finding maximum flows and
   224 feasible circulations.
   224 feasible circulations.
   225 
   225 
   226 \image html flow.png
   226 The maximum flow problem is to find a flow between a single-source and
   227 \image latex flow.eps "Graph flow" width=\textwidth
   227 single-target that is maximum. Formally, there is \f$G=(V,A)\f$
       
   228 directed graph, an \f$c_a:A\rightarrow\mathbf{R}^+_0\f$ capacity
       
   229 function and given \f$s, t \in V\f$ source and target node. The
       
   230 maximum flow is the solution of the next optimization problem:
       
   231 
       
   232 \f[ 0 \le f_a \le c_a \f]
       
   233 \f[ \sum_{v\in\delta^{-}(u)}f_{vu}=\sum_{v\in\delta^{+}(u)}f_{uv} \quad u \in V \setminus \{s,t\}\f]
       
   234 \f[ \max \sum_{v\in\delta^{+}(s)}f_{uv} - \sum_{v\in\delta^{-}(s)}f_{vu}\f]
       
   235 
       
   236 The lemon contains several algorithms for solve maximum flow problems:
       
   237 - \ref lemon::EdmondsKarp "Edmonds-Karp" 
       
   238 - \ref lemon::Preflow "Goldberg's Preflow algorithm"
       
   239 - \ref lemon::DinitzSleatorTarjan "Dinitz's blocking flow algorithm with dynamic tree"
       
   240 - \ref lemon::GoldbergTarjan "Preflow algorithm with dynamic trees"
       
   241 
       
   242 In most cases the \ref lemon::Preflow "preflow" algorithm provides the
       
   243 fastest method to compute the maximum flow. All impelementations
       
   244 provides functions for query the minimum cut, which is the dual linear
       
   245 programming probelm of the maximum flow.
       
   246 
   228 */
   247 */
   229 
   248 
   230 /**
   249 /**
   231 @defgroup min_cost_flow Minimum Cost Flow algorithms
   250 @defgroup min_cost_flow Minimum Cost Flow algorithms
   232 @ingroup algs
   251 @ingroup algs