Limbo
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Protected Member Functions | List of all members
limbo::solvers::MinCostFlowSolver< T, V > Class Template Referenceabstract

A base class of min-cost flow solver. More...

#include <DualMinCostFlow.h>

Inheritance diagram for limbo::solvers::MinCostFlowSolver< T, V >:
limbo::solvers::CapacityScaling< T, V > limbo::solvers::CapacityScaling< T, V > limbo::solvers::CostScaling< T, V > limbo::solvers::CostScaling< T, V > limbo::solvers::CycleCanceling< T, V > limbo::solvers::CycleCanceling< T, V > limbo::solvers::NetworkSimplex< T, V > limbo::solvers::NetworkSimplex< T, V >

Public Types

typedef DualMinCostFlow< T, V > dualsolver_type
 dual min-cost flow solver type
 
typedef MinCostFlow< T, V > primalsolver_type
 dual min-cost flow solver type
 

Public Member Functions

 MinCostFlowSolver ()
 constructor
 
 MinCostFlowSolver (MinCostFlowSolver const &rhs)
 copy constructor More...
 
MinCostFlowSolveroperator= (MinCostFlowSolver const &rhs)
 assignment More...
 
virtual ~MinCostFlowSolver ()
 destructor
 
virtual SolverProperty operator() (dualsolver_type *d)=0
 API to run min-cost flow solver. More...
 
 MinCostFlowSolver ()
 constructor
 
 MinCostFlowSolver (MinCostFlowSolver const &rhs)
 copy constructor More...
 
MinCostFlowSolveroperator= (MinCostFlowSolver const &rhs)
 assignment More...
 
virtual ~MinCostFlowSolver ()
 destructor
 
virtual SolverProperty operator() (primalsolver_type *d)=0
 API to run min-cost flow solver. More...
 

Protected Member Functions

void copy (MinCostFlowSolver const &)
 copy object
 
void copy (MinCostFlowSolver const &)
 copy object
 

Detailed Description

template<typename T, typename V>
class limbo::solvers::MinCostFlowSolver< T, V >

A base class of min-cost flow solver.

Template Parameters
Tcoefficient type
Vvariable type

Definition at line 29 of file DualMinCostFlow.h.

Constructor & Destructor Documentation

template<typename T, typename V>
limbo::solvers::MinCostFlowSolver< T, V >::MinCostFlowSolver ( MinCostFlowSolver< T, V > const &  rhs)
inline

copy constructor

Parameters
rhsright hand side

Definition at line 563 of file DualMinCostFlow.h.

template<typename T, typename V>
limbo::solvers::MinCostFlowSolver< T, V >::MinCostFlowSolver ( MinCostFlowSolver< T, V > const &  rhs)
inline

copy constructor

Parameters
rhsright hand side

Definition at line 467 of file MinCostFlow.h.

Member Function Documentation

template<typename T, typename V>
virtual SolverProperty limbo::solvers::MinCostFlowSolver< T, V >::operator() ( primalsolver_type d)
pure virtual
template<typename T, typename V>
virtual SolverProperty limbo::solvers::MinCostFlowSolver< T, V >::operator() ( dualsolver_type d)
pure virtual
template<typename T, typename V>
MinCostFlowSolver& limbo::solvers::MinCostFlowSolver< T, V >::operator= ( MinCostFlowSolver< T, V > const &  rhs)
inline

assignment

Parameters
rhsright hand side

Definition at line 473 of file MinCostFlow.h.

template<typename T, typename V>
MinCostFlowSolver& limbo::solvers::MinCostFlowSolver< T, V >::operator= ( MinCostFlowSolver< T, V > const &  rhs)
inline

assignment

Parameters
rhsright hand side

Definition at line 569 of file DualMinCostFlow.h.


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