ADS
Algorithms and Data Structures
Loading...
Searching...
No Matches
ADS::lemon_interop::NetworkSimplexAssignment< W > Class Template Reference

an engine of Assignment on the NetworkSimplex of LEMON, warm after changes of finite costs More...

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

Public member functions

int solve (int n, const std::vector< W > &C, bool all, const std::vector< std::pair< int, int > > &D, std::vector< int > &col, std::vector< W > &u, std::vector< W > &v)
 an optimal assignment of the costs \( C \) and its potentials [see AssignmentEngine]

Public attributes

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

Detailed description

template<class W = long long>
class ADS::lemon_interop::NetworkSimplexAssignment< W >

an engine of Assignment on the NetworkSimplex of LEMON, warm after changes of finite costs

Member function documentation

◆ solve()

template<class W = long long>
int ADS::lemon_interop::NetworkSimplexAssignment< W >::solve ( int n,
const std::vector< W > & C,
bool all,
const std::vector< std::pair< int, int > > & D,
std::vector< int > & col,
std::vector< W > & u,
std::vector< W > & v )
inline

an optimal assignment of the costs \( C \) and its potentials [see AssignmentEngine]

Member data documentation

◆ scratches

template<class W = long long>
int ADS::lemon_interop::NetworkSimplexAssignment< W >::scratches = 0

the solves from scratch

◆ warms

template<class W = long long>
int ADS::lemon_interop::NetworkSimplexAssignment< W >::warms = 0

the warm ones


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