|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Result
The class Result
is a result of a Problem
.
Method Summary | |
---|---|
Boolean |
containsVar(Object var)
Returns true if the result contains the variable. |
Number |
get(Object var)
Returns the primal value of the variable. |
boolean |
getBoolean(Object var)
Returns the primal value for a specific var as a boolean. |
Number |
getDualValue(Object var)
Returns the dual value of the variable. |
Number |
getObjective()
Returns the objective value. |
Number |
getPrimalValue(Object var)
Returns the primal value of the variable. |
void |
put(Object var,
Number value)
Sets the primal value of the variable. |
void |
putDualValue(Object var,
Number value)
Sets the dual value of the variable. |
void |
putPrimalValue(Object var,
Number value)
Sets the primal value of the variable. |
Method Detail |
---|
Number getObjective()
boolean getBoolean(Object var)
var
- the var
true
if the value is not 0Number get(Object var)
var
- the variable
void put(Object var, Number value)
var
- the variablevalue
- the valueNumber getPrimalValue(Object var)
var
- the variable
void putPrimalValue(Object var, Number value)
var
- the variablevalue
- the valueNumber getDualValue(Object var)
var
- the variable
void putDualValue(Object var, Number value)
var
- the variablevalue
- the valueBoolean containsVar(Object var)
true
if the result contains the variable.
var
- the variable
true
if the result contains the variable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |