gov.sns.tools.optimization
Class Variable

java.lang.Object
  |
  +--gov.sns.tools.optimization.Variable

Deprecated. The optimization package has been replaced by the optimizer package.

public class Variable
extends java.lang.Object

Variable represents a variable whose value is to be found for the optimal solution among other variables. A variable specifies a starting value, a lower limit and an upper limit. A variable is immutable and does not itself contain its present value assignment. Rather the value assignments are found in TrialPoint.

See Also:
TrialPoint

Field Summary
protected  double lowerLimit
          Deprecated.  
protected  double startValue
          Deprecated.  
protected  double upperLimit
          Deprecated.  
 
Constructor Summary
Variable(double aStartValue, double aLowerLimit, double anUpperLimit)
          Deprecated. Creates a new instance of Variable
 
Method Summary
 double lowerLimit()
          Deprecated. Get the lower limit.
 double startValue()
          Deprecated. Get the starting value (i.e.
 double upperLimit()
          Deprecated. Get the upper limit.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

startValue

protected double startValue
Deprecated. 

lowerLimit

protected double lowerLimit
Deprecated. 

upperLimit

protected double upperLimit
Deprecated. 
Constructor Detail

Variable

public Variable(double aStartValue,
                double aLowerLimit,
                double anUpperLimit)
Deprecated. 
Creates a new instance of Variable

Method Detail

startValue

public double startValue()
Deprecated. 
Get the starting value (i.e. initial guess).

Returns:
the starting value.

lowerLimit

public double lowerLimit()
Deprecated. 
Get the lower limit.

Returns:
the lower limit.

upperLimit

public double upperLimit()
Deprecated. 
Get the upper limit.

Returns:
the upper limit.