|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IVariableSettings
IVariableSettings contains the settings for a give variable.
| Method Summary | |
|---|---|
boolean |
isBound()
Check if a variable is bounded. |
boolean |
isFixed()
Check if a variable is fixed. |
double |
lowerBound()
Get the lower bound. |
String |
name()
Get the name of the variable to which settings apply. |
void |
removeBounds()
Reset the bounds. |
void |
reset()
Reset the IVariableSetting ot its defaults. |
void |
setBounds(double lowerBound,
double upperBound)
Set the bounds for the variable. |
void |
setFixed(boolean isFixed)
Set the fixed/unfixed status of a variable. |
void |
setStepSize(double step)
Set the step size for this variable. |
void |
setValue(double value)
Set the current value of this variable. |
double |
stepSize()
The step size for this variable. |
double |
upperBound()
Get the upper bound. |
double |
value()
The current value for this variable. |
| Method Detail |
|---|
String name()
double stepSize()
double upperBound()
double lowerBound()
boolean isBound()
true if the variable is bounded.boolean isFixed()
true if the variable is fixed.
void setStepSize(double step)
throws IllegalArgumentException
step - The step size.
IllegalArgumentException - if the step is not positive.
void setBounds(double lowerBound,
double upperBound)
throws IllegalArgumentException
lowerBound - The lower bound.upperBound - The upper bound.
IllegalArgumentException - if the lowerBound is not lower than the upperBound.void removeBounds()
void setFixed(boolean isFixed)
isFixed - The fixed status of a variable.void reset()
void setValue(double value)
value - The current value.double value()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||