Bpp/Graph_problem
Min_cost_flow
Cost_scaling
C++
 
 
DESCRIPTION
 

This module implements the cost-scaling algorithm to solve the minimum cost flow problem (with piecewise linear and convex costs) in graphs.

 
SOURCE FILES
 

This section allows you to access the C++ source files of the module.

 
PARENT MODULE
 

This module is part of Bpp/Graph_problem/Min_cost_flow.

 
INCLUDED FILES
 

The files listed below are included in the interface part of the module. So any module dependent of this module is also dependent of the files listed here.

  • <list>

  • <bpp/graph_problem/min_cost_flow/algorithm.hpp>

 
INTEGRATED NAMESPACES
 

The namespaces listed below are integrated in this module. That means any element declared in one of those namespaces can now be directly used by or from this module.

  • graphProblemMinCostFlowAlgorithm

 
ALIASES
 

The aliases listed below are only used internally by the interface. They are here just to lighten the writing of certain declarations. Never use them, they are local to the interface and can not be used outside of it.

  • tdGraph = class prArcData,class prNodeData

  • tuGraph = prArcData,prNodeData

 
FUNCTIONS
 

Here are listed the functions provided by the module. To use one of them, you have to specify the namespace of the module.

 
CLASSES
 

Here are listed the classes provided by the module. To use one of them, you have to specify the namespace of the module.

 
clLinearConformity
 
 
Declaration

template <tdGraph> class clLinearConformity

 
Description

Represents the conformity curve of an arc (the optimality conditions) for the minimum cost flow problem with linear costs.

 
Types
  • type clArc<tuGraph> cpArc
    Type of the arcs that carry the cost defined by the curve.

 
Methods
 
clSolveAlgo
 
 
Declaration

template <tdGraph> class clSolveAlgo : public clSolver<tuGraph>

 
Description

Represents an algorithm to solve the minimum cost flow problem (with linear costs) in a graph using the cost-scaling method.

 
Methods
 
 
Copyright (c) 1999-2016 - Bruno Bachelet - bruno@nawouak.net - http://www.nawouak.net
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation. See this license for more details (http://www.gnu.org).