diviner
Class ConstrainedEIDiviner

java.lang.Object
  extended by function.BasicScalarFunction
      extended by function.VariableDomainScalarFunction
          extended by diviner.BasicBoundConstrainedDiviner
              extended by diviner.BasicInequalityConstrainedDiviner
                  extended by diviner.ConstrainedImprovementDiviner
                      extended by diviner.ConstrainedEIDiviner
All Implemented Interfaces:
BoundConstrainedDiviner, InequalityConstrainedDiviner, Computable, ScalarFunction, VariableBounds, VariableInputDimension
Direct Known Subclasses:
ConstrainedMultiMetricDiviner

public class ConstrainedEIDiviner
extends ConstrainedImprovementDiviner

Constrained version of the EIDiviner. For now, uses the product of expected improvement on the objective and the probability of improving the feasibility.

Author:
dgorur

Field Summary
 
Fields inherited from class function.BasicScalarFunction
DEFAULT_BOUNDS, DEFAULT_DIM, VALUE_OUTSIDE_BOUNDS
 
Constructor Summary
ConstrainedEIDiviner()
           
 
Method Summary
 void init()
          Initialization method.
protected  ImprovementDiviner makeObjectiveDiviner()
          Constructs and returns an diviner for the objective function.
 double quickCompute(double[] x)
          Compute method without dimension checking.
 
Methods inherited from class diviner.ConstrainedImprovementDiviner
getConstraintDiviners, getObjectiveDiviner, getTargetObjective, setObjectiveDiviner, setTargetObjective
 
Methods inherited from class diviner.BasicInequalityConstrainedDiviner
getConstraintModels, setConstraintModels
 
Methods inherited from class diviner.BasicBoundConstrainedDiviner
getObjectiveModel, setObjectiveModel
 
Methods inherited from class function.VariableDomainScalarFunction
getBounds, getInputDimension, setBounds, setInputDimension
 
Methods inherited from class function.BasicScalarFunction
checkDimensions, compute, compute, compute, compute, compute, compute, getOutputDimension, isWithinBounds, makeBounds, quickCompute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface diviner.BoundConstrainedDiviner
getObjectiveModel, setObjectiveModel
 
Methods inherited from interface function.VariableBounds
setBounds
 
Methods inherited from interface function.ScalarFunction
compute, compute, compute, compute, quickCompute
 
Methods inherited from interface function.Computable
compute, compute, getBounds, getInputDimension, getOutputDimension, isWithinBounds
 

Constructor Detail

ConstrainedEIDiviner

public ConstrainedEIDiviner()
Method Detail

init

public void init()
Description copied from class: BasicScalarFunction
Initialization method.

Specified by:
init in interface BoundConstrainedDiviner
Specified by:
init in interface ScalarFunction
Overrides:
init in class BasicBoundConstrainedDiviner

quickCompute

public double quickCompute(double[] x)
Description copied from class: BasicScalarFunction
Compute method without dimension checking. All subclasses must implement this method: it is the core method that defines the function.

Specified by:
quickCompute in interface ScalarFunction
Specified by:
quickCompute in class BasicScalarFunction
Parameters:
x - the given input.
Returns:
the output corresponding to the given input.

makeObjectiveDiviner

protected ImprovementDiviner makeObjectiveDiviner()
Description copied from class: ConstrainedImprovementDiviner
Constructs and returns an diviner for the objective function.

Specified by:
makeObjectiveDiviner in class ConstrainedImprovementDiviner
Returns:
the diviner for the objective function.