diviner
Class BasicBoundConstrainedDiviner

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

public abstract class BasicBoundConstrainedDiviner
extends VariableDomainScalarFunction
implements BoundConstrainedDiviner

Implements basic functionality for BoundConstrainedDiviner.

Author:
dgorur

Field Summary
 
Fields inherited from class function.BasicScalarFunction
DEFAULT_BOUNDS, DEFAULT_DIM, VALUE_OUTSIDE_BOUNDS
 
Constructor Summary
BasicBoundConstrainedDiviner()
           
 
Method Summary
 ApproxModel getObjectiveModel()
          Returns the ApproxModel for this BoundConstrainedDiviner.
 void init()
          Initialization method.
 void setObjectiveModel(ApproxModel approxModel)
          Sets the ApproxModel for this BoundConstrainedDiviner.
 
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 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

BasicBoundConstrainedDiviner

public BasicBoundConstrainedDiviner()
Method Detail

getObjectiveModel

public ApproxModel getObjectiveModel()
Description copied from interface: BoundConstrainedDiviner
Returns the ApproxModel for this BoundConstrainedDiviner.

Specified by:
getObjectiveModel in interface BoundConstrainedDiviner
Returns:
the ApproxModel for this BoundConstrainedDiviner.

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 VariableDomainScalarFunction

setObjectiveModel

public void setObjectiveModel(ApproxModel approxModel)
Description copied from interface: BoundConstrainedDiviner
Sets the ApproxModel for this BoundConstrainedDiviner.

Specified by:
setObjectiveModel in interface BoundConstrainedDiviner
Parameters:
approxModel - the given ApproxModel.