|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MulticommodityCapable
This interface may be combined with single commodity flow interfaces, turning them into the equivalent multicommodity flow variant.
Method Summary | |
---|---|
void |
focusOnCommodity(int numCommodity)
All subsequent calls for a single commodity (e.g. setting the edge weight, the inflow or the individual capacitiy) refer to the given commodity. |
void |
setCommonEdgeCapacityMap(FixedDoubleEdgeMap edgeCapacities)
Set the edge capacities for the sum of the flows. |
void |
setNumCommodities(int numCommodities)
Define the number of commodities. |
Method Detail |
---|
void setNumCommodities(int numCommodities)
numCommodities
- void focusOnCommodity(int numCommodity)
numCommodity
- the commodity to which all subsequent calls
shall refer.void setCommonEdgeCapacityMap(FixedDoubleEdgeMap edgeCapacities)
edgeCapacities
- a map containing the edge capacities.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |