|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--mascoptCplex.algos.abstractalgos.AddSimpleFlowRouting
Field Summary | |
String |
FORBIDEN_EDGE
The string which is used to forbid an edge. |
boolean |
integerComputation_
Choice of the type of variables. |
static int |
MAX_FLOW
The correpsondance between each request and the variable wich provides its size. |
Constructor Summary | |
AddSimpleFlowRouting(AbstractGraph g,
ilog.cplex.IloCplex cplex,
boolean integerComputation)
Constructs the AddFlowRouting object. |
Method Summary | |
void |
createFlow()
Add a flow system on the network. |
double |
getDouVarEdge(AbstractEdge e)
Give the value representing the flow on an arc and for a request r. |
ilog.concert.IloNumVar |
getVarEdge(AbstractEdge e)
Give the variable representing the flow on an arc and for a request r. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static int MAX_FLOW
public String FORBIDEN_EDGE
public boolean integerComputation_
Constructor Detail |
public AddSimpleFlowRouting(AbstractGraph g, ilog.cplex.IloCplex cplex, boolean integerComputation)
g
- the graph used for the routing.cplex
- the cplex object where to put constraints.Method Detail |
public void createFlow()
public ilog.concert.IloNumVar getVarEdge(AbstractEdge e)
e
- the edge considered.
public double getDouVarEdge(AbstractEdge e)
e
- the edge considered.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |