|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.cilib.functions.Function net.sourceforge.cilib.functions.ContinuousFunction net.sourceforge.cilib.functions.continuous.Schaffer6
public class Schaffer6
The Schaffer F6 function. Minimum: f(x,y) = 0; (x,y) = (0,0);
Characteristics:
LaTeX function code:
\textbf{Schaffer F6:} $f(x) = 0.5 + \frac{(sin^{2} \sqrt{x^2 + y^2}) - 0.5}{(1.0 + 0.001(x^2 + y^2))^2}$
Constructor Summary | |
---|---|
Schaffer6()
Constructor. |
Method Summary | |
---|---|
double |
evaluate(Vector input)
Evaluate the function and return the evaluation. |
Schaffer6 |
getClone()
Create a cloned copy of the current object and return it. |
Object |
getMinimum()
Initialise the function minimum value. |
Methods inherited from class net.sourceforge.cilib.functions.ContinuousFunction |
---|
evaluate, getMaximum |
Methods inherited from class net.sourceforge.cilib.functions.Function |
---|
getBehavioralDomainRegistry, getDimension, getDomain, getDomainRegistry, setBehavioralDomain, setBehaviouralDomainRegistry, setDomain |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Schaffer6()
Method Detail |
---|
public Schaffer6 getClone()
getClone
in interface Cloneable
getClone
in class ContinuousFunction
Object.clone()
public Object getMinimum()
getMinimum
in class ContinuousFunction
public double evaluate(Vector input)
evaluate
in class ContinuousFunction
x
- The input vector to the function
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |