A MultiCommodityVertex represents the combination of commodity supply demand and a required transition flow.
More...
#include <MultiCommodityVertex.hpp>
A MultiCommodityVertex represents the combination of commodity supply demand and a required transition flow.
◆ CombinedFlowBounds
◆ CommoditySet
◆ Ptr
◆ MultiCommodityVertex() [1/2]
| graph_analysis::algorithms::MultiCommodityVertex::MultiCommodityVertex |
( |
const std::string & |
label = "" | ) |
|
◆ MultiCommodityVertex() [2/2]
| graph_analysis::algorithms::MultiCommodityVertex::MultiCommodityVertex |
( |
uint32_t |
commodities, |
|
|
const std::string & |
label = "" |
|
) |
| |
◆ ~MultiCommodityVertex()
| graph_analysis::algorithms::MultiCommodityVertex::~MultiCommodityVertex |
( |
| ) |
|
|
virtual |
◆ getClassName()
| virtual std::string graph_analysis::algorithms::MultiCommodityVertex::getClassName |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ getCommoditiesInFlowBounds()
| const CombinedFlowBounds& graph_analysis::algorithms::MultiCommodityVertex::getCommoditiesInFlowBounds |
( |
| ) |
const |
|
inline |
Get the combined maximum inflows for a set of commodities
◆ getCommodityMaxTransFlow()
| uint32_t graph_analysis::algorithms::MultiCommodityVertex::getCommodityMaxTransFlow |
( |
uint32_t |
commodity | ) |
const |
|
inline |
Retrieve the set max trans-flow through this vertex for a given commodity
- Parameters
-
| commodity | Index of the commodity |
- Returns
- minimum trans-flow for the given commodity through this vertex
◆ getCommodityMinTransFlow()
| uint32_t graph_analysis::algorithms::MultiCommodityVertex::getCommodityMinTransFlow |
( |
uint32_t |
commodity | ) |
const |
|
inline |
Retrieve the set trans-flow through this vertex for a given commodity
- Parameters
-
| commodity | Index of the commodity |
- Returns
- minimum trans-flow for the given commodity through this vertex
◆ getCommoditySupply()
| int32_t graph_analysis::algorithms::MultiCommodityVertex::getCommoditySupply |
( |
uint32_t |
commodity | ) |
const |
|
inline |
Get the supply for a given commodity
- Parameters
-
| commodity | Index of the commodity |
◆ registerAttributes()
| void graph_analysis::algorithms::MultiCommodityVertex::registerAttributes |
( |
VertexTypeManager * |
vManager | ) |
const |
|
overridevirtual |
◆ setCommoditiesInFlowBounds()
| void graph_analysis::algorithms::MultiCommodityVertex::setCommoditiesInFlowBounds |
( |
const CommoditySet & |
commodities, |
|
|
std::pair< uint32_t, uint32_t > |
minMaxFlow |
|
) |
| |
|
inline |
Set the inflow bounds (minimum/maximum) for a set of commodities, e.g., commodities of the same type
- Parameters
-
| commodities | Set of commodities |
| minMaxFlow | Pair of lower and upper bound |
◆ setCommoditiesMaxInFlow()
| void graph_analysis::algorithms::MultiCommodityVertex::setCommoditiesMaxInFlow |
( |
const CommoditySet & |
commodities, |
|
|
uint32_t |
maxFlow |
|
) |
| |
Set the upper bound for the inflow of a set of commodities, e.g., commodities of the same type
- Parameters
-
| commodities | Set of commodities |
| maxFlow | Maximum total inflow allowed for this set of commodities |
◆ setCommoditiesMinInFlow()
| void graph_analysis::algorithms::MultiCommodityVertex::setCommoditiesMinInFlow |
( |
const CommoditySet & |
commodities, |
|
|
uint32_t |
minFlow |
|
) |
| |
Set the lower bound for the inflow of a set of commodities, e.g., commodities of the same type
- Parameters
-
| commodities | Set of commodities |
| minFlow | Minimum total inflow required for this set of commodities |
◆ setCommodityMaxTransFlow()
| void graph_analysis::algorithms::MultiCommodityVertex::setCommodityMaxTransFlow |
( |
uint32_t |
commodity, |
|
|
uint32_t |
flow |
|
) |
| |
|
inline |
Request a maximum trans-flow through this vertex for a given commodity
- Parameters
-
| commodity | Index of the commodity |
| flow | (Integral) flow of the commodity |
◆ setCommodityMinTransFlow()
| void graph_analysis::algorithms::MultiCommodityVertex::setCommodityMinTransFlow |
( |
uint32_t |
commodity, |
|
|
uint32_t |
flow |
|
) |
| |
|
inline |
Request a trans-flow through this vertex for a given commodity
- Parameters
-
| commodity | Index of the commodity |
| flow | (Integral) flow of the commodity |
◆ setCommoditySupply()
| void graph_analysis::algorithms::MultiCommodityVertex::setCommoditySupply |
( |
uint32_t |
commodity, |
|
|
int32_t |
supply |
|
) |
| |
|
inline |
Set the supply for a particular commodity
- Parameters
-
| commodity | Index of the commodity |
| supply | (Integral) supply value of this commodity |
◆ toString()
| std::string graph_analysis::algorithms::MultiCommodityVertex::toString |
( |
| ) |
const |
|
overridevirtual |
The documentation for this class was generated from the following files: