Package com.bayesserver.optimization
Class DesignState
- java.lang.Object
-
- com.bayesserver.optimization.DesignState
-
public final class DesignState extends Object
An input to the optimization algorithm.
-
-
Constructor Summary
Constructors Constructor Description DesignState(State state, Double lowerBound, Double upperBound)Initializes a new instance of thecom.bayesserver.optization.DesignStateclass.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DoublegetLowerBound()The minimum value allowed for this variable/state during the optimization process.StategetState()Gets the state these options refer to.DoublegetUpperBound()The maximum value allowed for this variable/state during the optimization process.voidsetLowerBound(Double value)The minimum value allowed for this variable/state during the optimization process.voidsetUpperBound(Double value)The maximum value allowed for this variable/state during the optimization process.
-
-
-
Constructor Detail
-
DesignState
public DesignState(State state, Double lowerBound, Double upperBound)
Initializes a new instance of thecom.bayesserver.optization.DesignStateclass.- Parameters:
state- The state these options refer to.lowerBound- Lower bound during optimization.upperBound- Upper bound during optimization.
-
-
Method Detail
-
getState
public State getState()
Gets the state these options refer to.
-
getLowerBound
public Double getLowerBound()
The minimum value allowed for this variable/state during the optimization process.
-
setLowerBound
public void setLowerBound(Double value)
The minimum value allowed for this variable/state during the optimization process.
-
getUpperBound
public Double getUpperBound()
The maximum value allowed for this variable/state during the optimization process.
-
setUpperBound
public void setUpperBound(Double value)
The maximum value allowed for this variable/state during the optimization process.
-
-