|
ADS
Algorithms and Data Structures
|
the engines of the solves of a MaxFlowObserver, objects that the observer keeps: scratch( net , s , t , how ) gives the value of a maximum flow of net from the zero flow, and warm( net , s , t , how , v ) that of a maximum flow from the flow that net keeps, of value \( v \) before the capacities changed (a capacity cut below its flow leaving the excess and the deficit that FlowNetwork::maxFlow() routes first); each leaves a maximum flow in net, whose minimum cut the observer reads. More...
#include <ADS/graph/Reoptimization.h>
the engines of the solves of a MaxFlowObserver, objects that the observer keeps: scratch( net , s , t , how ) gives the value of a maximum flow of net from the zero flow, and warm( net , s , t , how , v ) that of a maximum flow from the flow that net keeps, of value \( v \) before the capacities changed (a capacity cut below its flow leaving the excess and the deficit that FlowNetwork::maxFlow() routes first); each leaves a maximum flow in net, whose minimum cut the observer reads.
It is the point where a solve by another library plugs in, which runs on a copy of net and gives its flow back by FlowNetwork::assignFlow() [see PreflowEngine of ADS/interop/lemon/Warm.h and Interoperation with LEMON]