|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectjCMPL.CmplSolution
public class CmplSolution
Solution handling of jCMPL
Constructor Summary | |
---|---|
CmplSolution()
Constructor |
Method Summary | |
---|---|
java.util.ArrayList<CmplSolElement> |
constraints()
Returns a list of CmplSolLine objects for the constraints of the current solution |
long |
idx()
Returns the index of the current solution |
protected void |
setCon(CmplSolElement con)
Setter for the constraint list Used by CmplSolutions.readSolution |
protected void |
setIdx(long _idx)
Setter of the solution index Used by CmplSolutions.readSolution |
protected void |
setStatus(java.lang.String _status)
Setter for the solution status Used by CmplSolutions.readSolution |
protected void |
setValue(double value)
Setter for the obj value Used by CmplSolutions.readSolution |
protected void |
setVar(CmplSolElement var)
Setter for the variable list Used by CmplSolutions.readSolution |
java.lang.String |
status()
Returns the a string with the status of the current solution provided by the invoked solver |
double |
value()
Returns the value of the objective function of the current solution |
java.util.ArrayList<CmplSolElement> |
variables()
Returns a list of CmplSolLine objects for the variables of the current solution |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CmplSolution()
Method Detail |
---|
public long idx()
protected void setIdx(long _idx)
_idx
- solution indexpublic java.lang.String status()
protected void setStatus(java.lang.String _status)
_status
- solution statuspublic double value()
protected void setValue(double value)
value
- obj valuepublic java.util.ArrayList<CmplSolElement> variables()
protected void setVar(CmplSolElement var)
var
- CmplSolElementpublic java.util.ArrayList<CmplSolElement> constraints()
protected void setCon(CmplSolElement con)
con
- CmplSolElement
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |