diviner
Class ConstrainedImprovementDiviner
java.lang.Object
function.BasicScalarFunction
function.VariableDomainScalarFunction
diviner.BasicBoundConstrainedDiviner
diviner.BasicInequalityConstrainedDiviner
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
| 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 |
ConstrainedImprovementDiviner
public ConstrainedImprovementDiviner()
- Default constructor.
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.