diviner
Class ConstrainedImprovementDiviner

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

public abstract class ConstrainedImprovementDiviner
extends BasicInequalityConstrainedDiviner

ImprovementDiviner for constrained problems.

Author:
dgorur

Field Summary
 
Fields inherited from class function.BasicScalarFunction
DEFAULT_BOUNDS, DEFAULT_DIM, VALUE_OUTSIDE_BOUNDS
 
Constructor Summary
ConstrainedImprovementDiviner()
          Default constructor.
 
Method Summary
 java.util.ArrayList<ImprovementDiviner> getConstraintDiviners()
          Returns the constraint diviners.
 ImprovementDiviner getObjectiveDiviner()
          Returns the diviner for the objective function.
 double getTargetObjective()
          Returns the target objective desired.
protected abstract  ImprovementDiviner makeObjectiveDiviner()
          Constructs and returns an diviner for the objective function.
 void setObjectiveDiviner(ImprovementDiviner objectiveDiviner)
          Sets the diviner for the objective function.
 void setTargetObjective(double obj)
          Sets the desired value of the objective.
 
Methods inherited from class diviner.BasicInequalityConstrainedDiviner
getConstraintModels, setConstraintModels
 
Methods inherited from class diviner.BasicBoundConstrainedDiviner
getObjectiveModel, init, 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, 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, init, setObjectiveModel
 
Methods inherited from interface function.VariableBounds
setBounds
 
Methods inherited from interface function.ScalarFunction
compute, compute, compute, compute, quickCompute, quickCompute
 
Methods inherited from interface function.Computable
compute, compute, getBounds, getInputDimension, getOutputDimension, isWithinBounds
 

Constructor Detail

ConstrainedImprovementDiviner

public ConstrainedImprovementDiviner()
Default constructor.

Method Detail

getConstraintDiviners

public java.util.ArrayList<ImprovementDiviner> getConstraintDiviners()
Returns the constraint diviners.

Returns:
the constraint diviners.

getObjectiveDiviner

public ImprovementDiviner getObjectiveDiviner()
Returns the diviner for the objective function.

Returns:
the objective diviner.

getTargetObjective

public double getTargetObjective()
Returns the target objective desired.

Returns:
the target objective desired.

setObjectiveDiviner

public void setObjectiveDiviner(ImprovementDiviner objectiveDiviner)
Sets the diviner for the objective function.

Parameters:
objectiveDiviner - the given objective diviner.

setTargetObjective

public void setTargetObjective(double obj)
Sets the desired value of the objective.

Parameters:
obj - the target objective.

makeObjectiveDiviner

protected abstract ImprovementDiviner makeObjectiveDiviner()
Constructs and returns an diviner for the objective function.

Returns:
the diviner for the objective function.