|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfunction.BasicScalarFunction
function.VariableDomainScalarFunction
public abstract class VariableDomainScalarFunction
Abstract class for scalar functions with variable input dimensionality.
| Field Summary |
|---|
| Fields inherited from class function.BasicScalarFunction |
|---|
DEFAULT_BOUNDS, DEFAULT_DIM, VALUE_OUTSIDE_BOUNDS |
| Constructor Summary | |
|---|---|
VariableDomainScalarFunction()
Constructs a BasicScalarFunction in the default number of input
dimensions. |
|
VariableDomainScalarFunction(int inputDimension)
Constructs a BasicScalarFunction in the given number of input
dimensions. |
|
| Method Summary | |
|---|---|
Hypercube |
getBounds()
Returns a Hypercube specifying the domain of this
Computable. |
int |
getInputDimension()
Returns the number of dimensions accepted by this Computable. |
void |
init()
Initialization method. |
void |
setBounds(Hypercube bounds)
Sets the bounds for this ScalarFunction. |
void |
setInputDimension(int inputDimension)
Sets the number of input dimensions. |
| 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 |
| Constructor Detail |
|---|
public VariableDomainScalarFunction()
BasicScalarFunction in the default number of input
dimensions.
public VariableDomainScalarFunction(int inputDimension)
BasicScalarFunction in the given number of input
dimensions.
inputDimension - | Method Detail |
|---|
public Hypercube getBounds()
ComputableHypercube specifying the domain of this
Computable.
getBounds in interface ComputablegetBounds in class BasicScalarFunctionScalarFunction.public int getInputDimension()
ComputableComputable.
getInputDimension in interface ComputablegetInputDimension in class BasicScalarFunctionpublic void init()
BasicScalarFunction
init in interface ScalarFunctioninit in class BasicScalarFunctionpublic void setInputDimension(int inputDimension)
setInputDimension in interface VariableInputDimensioninputDimension - the given number of input dimensions.public void setBounds(Hypercube bounds)
VariableBoundsScalarFunction.
setBounds in interface VariableBoundsbounds - the given bounds.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||