|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object hep.aida.ref.optimizer.VariableSettings
Constructor Summary | |
VariableSettings(String name)
|
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 lo,
double up)
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public VariableSettings(String name)
Method Detail |
public String name()
IVariableSettings
name
in interface IVariableSettings
public double stepSize()
IVariableSettings
stepSize
in interface IVariableSettings
public double upperBound()
IVariableSettings
upperBound
in interface IVariableSettings
public double lowerBound()
IVariableSettings
lowerBound
in interface IVariableSettings
public boolean isBound()
IVariableSettings
isBound
in interface IVariableSettings
true
if the variable is bounded.public boolean isFixed()
IVariableSettings
isFixed
in interface IVariableSettings
true
if the variable is fixed.public void setStepSize(double step)
IVariableSettings
setStepSize
in interface IVariableSettings
step
- The step size.public void setBounds(double lo, double up)
IVariableSettings
setBounds
in interface IVariableSettings
lo
- The lower bound.up
- The upper bound.public void removeBounds()
IVariableSettings
removeBounds
in interface IVariableSettings
public void setFixed(boolean isFixed)
IVariableSettings
setFixed
in interface IVariableSettings
isFixed
- The fixed status of a variable.public void reset()
IVariableSettings
reset
in interface IVariableSettings
public double value()
IVariableSettings
value
in interface IVariableSettings
public void setValue(double value)
IVariableSettings
setValue
in interface IVariableSettings
value
- The current value.
|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |