|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IVariable
| Method Summary | |
|---|---|
void |
addRange(double lower,
double upper)
Add a new range to the existing range set for the IVariable. |
void |
connect(IEvaluator ev)
|
void |
connect(ITuple data)
|
ITuple |
connection()
|
double |
error()
Get current error of the IVariable. |
boolean |
isConnected()
Check if the IVariable is connected. |
boolean |
isDependent()
Check if the IVariable represents variable or parameter. |
boolean |
isFixed()
Get how the IVariable can be used in fitting. |
boolean |
isInRange()
Check if current value of the IVariable is in the valid range set. |
boolean |
isInRange(double value)
Check if provided value is in the IVariable valid range set. |
String |
label()
Get label for this IVariable. |
String |
name()
Get name for this IVariable. |
void |
setDependent(boolean state)
Set IVariable to represent variable or parameter. |
void |
setFixed(boolean state)
Set how the IVariable can be used in fitting. |
void |
setRange(double lower,
double upper)
Set new range for the IVariable. |
void |
setStep(double step)
Set initial step for fitting. |
void |
setUnits(String units)
Set units. |
void |
setUseBounds(boolean state)
Set how fitter should treat bounds for the IVariable. |
boolean |
setValue(double value)
Set value for the IVariable. |
String |
units()
Get units. |
boolean |
useBounds()
Get how fitter should treat bounds for the IVariable. |
double |
value()
Get current value of the IVariable. |
| Method Detail |
|---|
String label()
String name()
boolean setValue(double value)
value - Value of IVariable.
true if the value was set succesfully, false otherwise, for example if
the IVariable is bounded and value is out of range.double value()
double error()
void setRange(double lower,
double upper)
lower - Lower edge of the valid range.upper - Upper edge of the valid range.
void addRange(double lower,
double upper)
lower - Lower edge of the valid range.upper - Upper edge of the valid range.boolean isInRange()
true if current value of the IVariable is in the valid range set.boolean isInRange(double value)
value - Value to be checked
true if provided value is in the IVariable valid range set.void setDependent(boolean state)
state - true for variable, false for parameterboolean isDependent()
true if this is variable, false if this is parametervoid setStep(double step)
step - Initial step for fitting.void setFixed(boolean state)
state - true for fixed parameter, false for variable parameter.boolean isFixed()
true for fixed parameter, false for variable parameter.void setUseBounds(boolean state)
state - true use bounds, false don't use bounds.boolean useBounds()
true use bounds, false don't use bounds.void connect(ITuple data)
void connect(IEvaluator ev)
boolean isConnected()
true if IVariable is connected, false if IVariable is not connected.ITuple connection()
void setUnits(String units)
units - String that describes unitsString units()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||