ADS
Algorithms and Data Structures
Loading...
Searching...
No Matches
ADS::lemon_interop::PreflowEngine Class Reference

the engine of MaxFlowObserver on the Preflow of LEMON, with its warm start from the flow of the network More...

#include <ADS/interop/lemon/Warm.h>

Public member functions

long long scratch (FlowNetwork &net, int s, int t, Augment)
 the value of a maximum flow of net from the zero flow, by a new Preflow on a copy of net
long long warm (FlowNetwork &net, int s, int t, Augment how, long long)
 the value of a maximum flow of net from its flow, by runWarm() of the Preflow, or from scratch if the nodes or the ends changed

Public attributes

int scratches = 0
 the solves from scratch
int warms = 0
 the warm ones

Detailed description

the engine of MaxFlowObserver on the Preflow of LEMON, with its warm start from the flow of the network

Member function documentation

◆ scratch()

long long ADS::lemon_interop::PreflowEngine::scratch ( FlowNetwork & net,
int s,
int t,
Augment  )
inline

the value of a maximum flow of net from the zero flow, by a new Preflow on a copy of net

◆ warm()

long long ADS::lemon_interop::PreflowEngine::warm ( FlowNetwork & net,
int s,
int t,
Augment how,
long long  )
inline

the value of a maximum flow of net from its flow, by runWarm() of the Preflow, or from scratch if the nodes or the ends changed

Member data documentation

◆ scratches

int ADS::lemon_interop::PreflowEngine::scratches = 0

the solves from scratch

◆ warms

int ADS::lemon_interop::PreflowEngine::warms = 0

the warm ones


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