|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfunction.BasicScalarFunction
function.VariableDomainScalarFunction
diviner.BasicBoundConstrainedDiviner
diviner.ImprovementDiviner
diviner.MultiMetricDiviner
public class MultiMetricDiviner
Uses multiple figures of merit to compute 'goodness' of a point for sampling.
Achieves this by containing a number of diviners and using the desired one at
any stage. Cycles through the list of diviners each time the
setTargetObjective(double) method is invoked. (Bit of a hack? Maybe
not.)
| Field Summary |
|---|
| Fields inherited from class diviner.ImprovementDiviner |
|---|
improvement, postMean, postStdDev, scaledImprovement |
| Fields inherited from class function.BasicScalarFunction |
|---|
DEFAULT_BOUNDS, DEFAULT_DIM, VALUE_OUTSIDE_BOUNDS |
| Constructor Summary | |
|---|---|
MultiMetricDiviner()
Default constructor. |
|
| Method Summary | |
|---|---|
java.util.ArrayList<ImprovementDiviner> |
getDiviners()
Returns the diviners. |
void |
init()
Initialization method. |
double |
quickCompute(double[] x)
Compute method without dimension checking. |
void |
setBounds(Hypercube bounds)
Sets the bounds for this ScalarFunction. |
void |
setDiviners(java.util.ArrayList<ImprovementDiviner> diviners)
Sets the diviners. |
void |
setObjectiveModel(ApproxModel approxModel)
Sets the ApproxModel for this BoundConstrainedDiviner. |
void |
setTargetObjective(double obj)
Sets the value of the target objective desired. |
| Methods inherited from class diviner.ImprovementDiviner |
|---|
evaluatePosterior, getTargetObjective |
| Methods inherited from class diviner.BasicBoundConstrainedDiviner |
|---|
getObjectiveModel |
| Methods inherited from class function.VariableDomainScalarFunction |
|---|
getBounds, getInputDimension, 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 function.ScalarFunction |
|---|
compute, compute, compute, compute, quickCompute |
| Methods inherited from interface function.Computable |
|---|
compute, compute, getBounds, getInputDimension, getOutputDimension, isWithinBounds |
| Constructor Detail |
|---|
public MultiMetricDiviner()
| Method Detail |
|---|
public java.util.ArrayList<ImprovementDiviner> getDiviners()
public void setDiviners(java.util.ArrayList<ImprovementDiviner> diviners)
diviners - An ArrayList of ImprovementDiviners.public void init()
BasicScalarFunction
init in interface BoundConstrainedDivinerinit in interface ScalarFunctioninit in class BasicBoundConstrainedDivinerpublic double quickCompute(double[] x)
BasicScalarFunction
quickCompute in interface ScalarFunctionquickCompute in class BasicScalarFunctionx - the given input.
public void setBounds(Hypercube bounds)
VariableBoundsScalarFunction.
setBounds in interface VariableBoundssetBounds in class VariableDomainScalarFunctionbounds - the given bounds.public void setObjectiveModel(ApproxModel approxModel)
BoundConstrainedDivinerApproxModel for this BoundConstrainedDiviner.
setObjectiveModel in interface BoundConstrainedDivinersetObjectiveModel in class BasicBoundConstrainedDivinerapproxModel - the given ApproxModel.public void setTargetObjective(double obj)
ImprovementDiviner
setTargetObjective in class ImprovementDivinerobj - desired value of objective.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||