Default traits class of Preflow class.
GR | Digraph type. |
CAP | Capacity map type. |
#include <lemon/preflow.h>
Public Types | |
typedef GR | Digraph |
The type of the digraph the algorithm runs on. | |
typedef CAP | CapacityMap |
The type of the map that stores the arc capacities. More... | |
typedef CapacityMap::Value | Value |
The type of the flow values. | |
typedef GR::ArcMap< Value > | FlowMap |
The type of the map that stores the flow values. More... | |
typedef lemon::Elevator< GR, GR::Node > | Elevator |
The elevator type used by Preflow algorithm. More... | |
typedef lemon::Tolerance< Value > | Tolerance |
The tolerance used by the algorithm. More... | |
Static Public Member Functions | |
static FlowMap * | createFlowMap (const Digraph &digraph) |
Instantiates a FlowMap. More... | |
static Elevator * | createElevator (const Digraph &digraph, int max_level) |
Instantiates an Elevator. More... | |
typedef CAP CapacityMap |
The type of the map that stores the arc capacities. It must meet the ReadMap concept.
The type of the map that stores the flow values. It must meet the ReadWriteMap concept.
typedef lemon::Elevator<GR, GR::Node> Elevator |
The elevator type used by Preflow algorithm.
typedef lemon::Tolerance<Value> Tolerance |
The tolerance used by the algorithm to handle inexact computation.
This function instantiates a FlowMap.
digraph | The digraph for which we would like to define the flow map. |