|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--mascoptCplex.algos.abstractalgos.FlowCapacityRouting
Computes a flow on a graph with requests. The use of capacities is controled by the string CAPACITY_STRING_VALUE (the string used to read capacities on edges). You can get the chain resulting of the computed flow using two metdod. The first gives multi chains (i.e. one path covering all the flow). The second gives an HashSet contains all the single chains. On this two results you can get the amount of flow on the path itself or on each arc of the path. See the two methods getChain and getSingleChains.
Field Summary | |
String |
CAPACITY_STRING_VALUE
String which is read on edges for the capacity. |
boolean |
integerComputation
Choice of the type of variables. |
ilog.cplex.IloCplex.Status |
status
Status of the problem |
int |
W
Number of wavelength per fiber |
Constructor Summary | |
FlowCapacityRouting(AbstractGraph g,
DiGraph requests)
Provides the calculus of flow on a graph |
Method Summary | |
void |
computeFlow()
Compute the flow on the network. |
AbstractGraph |
getAbstractGraph()
|
AbstractPath |
getChain(Arc r)
Returns the chain with the computed flow. |
AddFlowRouting |
getFlow()
|
AbstractPathSet |
getSingleChains(Arc r)
Returns single chains with the computed flow. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public String CAPACITY_STRING_VALUE
public int W
public boolean integerComputation
public ilog.cplex.IloCplex.Status status
Constructor Detail |
public FlowCapacityRouting(AbstractGraph g, DiGraph requests)
g
- the graph to use as networkMethod Detail |
public void computeFlow()
public AbstractPath getChain(Arc r)
r
- the request to satisfy.
public AbstractPathSet getSingleChains(Arc r)
r
- the request to satisfy.
public AbstractGraph getAbstractGraph()
public AddFlowRouting getFlow()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |