|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectchoco.palm.benders.MasterSlavesRelation
public class MasterSlavesRelation
A Class for describing the objective function among variables of the master and subproblems
Field Summary | |
---|---|
protected int |
nbSlave
|
Constructor Summary | |
---|---|
MasterSlavesRelation()
|
Method Summary | |
---|---|
int |
computeBound(int mobj,
int[] objs,
int k)
compute a bound for the subproblem k. 0 denotes the master problem |
java.util.ArrayList |
computeExpl(Explanation[] cuts)
Compute an explanation for the master problem using a serie of explanations extracted from the subproblems |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected int nbSlave
Constructor Detail |
---|
public MasterSlavesRelation()
Method Detail |
---|
public int computeBound(int mobj, int[] objs, int k)
objs
- : the objectives of each subproblem objectivemobj
- : objective value of the master
public java.util.ArrayList computeExpl(Explanation[] cuts)
cuts
- a list of Explanation[]
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |