ADS
Algorithms and Data Structures
Loading...
Searching...
No Matches
ADS::AugmentEngine Struct Reference

the engine of ADS, both solves by the augmentations how of FlowNetwork::maxFlow() [see MaxFlow.h] More...

#include <ADS/graph/Reoptimization.h>

Static public member functions

static long long scratch (FlowNetwork &net, int s, int t, Augment how)
 the value of a maximum flow from the zero flow
static long long warm (FlowNetwork &net, int s, int t, Augment how, long long v)
 the value of a maximum flow from the flow of net, of value \( v \)

Detailed description

the engine of ADS, both solves by the augmentations how of FlowNetwork::maxFlow() [see MaxFlow.h]

Member function documentation

◆ scratch()

long long ADS::AugmentEngine::scratch ( FlowNetwork & net,
int s,
int t,
Augment how )
inlinestatic

the value of a maximum flow from the zero flow

◆ warm()

long long ADS::AugmentEngine::warm ( FlowNetwork & net,
int s,
int t,
Augment how,
long long v )
inlinestatic

the value of a maximum flow from the flow of net, of value \( v \)


The documentation for this struct was generated from the following file: