|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfunction.BasicScalarFunction
function.Hartman6
function.Hartman6LoFi
public class Hartman6LoFi
A fake "lo-fi" version of Hartman6 with a radially symmetric sinusoidal "error".
| Field Summary |
|---|
| Fields inherited from class function.BasicScalarFunction |
|---|
DEFAULT_BOUNDS, DEFAULT_DIM, VALUE_OUTSIDE_BOUNDS |
| Constructor Summary | |
|---|---|
Hartman6LoFi()
|
|
| Method Summary | |
|---|---|
protected double |
computeError(double[] x)
|
double |
getErrAmplitude()
Returns the magnitude of the error sinusoid. |
double |
quickCompute(double[] x)
Compute method without dimension checking. |
void |
setErrAmplitude(double amp)
Sets the magnitude of the error sinusoid. |
| Methods inherited from class function.BasicScalarFunction |
|---|
checkDimensions, compute, compute, compute, compute, compute, compute, getBounds, getInputDimension, getOutputDimension, init, isWithinBounds, makeBounds, quickCompute |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Hartman6LoFi()
| Method Detail |
|---|
public double getErrAmplitude()
public double quickCompute(double[] x)
BasicScalarFunction
quickCompute in interface ScalarFunctionquickCompute in class Hartman6x - the given input.
public void setErrAmplitude(double amp)
amp - the magnitude of the error sinusoid.protected double computeError(double[] x)
x -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||