|
||||||||||
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.unconstrained.Spherical
public class Spherical
Spherical function.
Reference: X. Yao, Y. Liu, G. Liu, Evolutionary Programming Made Faster, IEEE Transactions on Evolutionary Computation, 3(2):82--102, 1999
Characteristics:
Constructor Summary | |
---|---|
Spherical()
Create a new instance of Spherical . |
Method Summary | |
---|---|
double |
evaluate(Vector x)
Evaluate the function with the given Vector as input. |
Spherical |
getClone()
Create a cloned copy of the current object and return it. |
Vector |
getGradient(Vector x)
Obtain the gradient Vector for the provided input Vector . |
Object |
getMinimum()
Get the minimum of the function. |
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 Spherical()
Spherical
.
Method Detail |
---|
public Spherical getClone()
getClone
in interface Cloneable
getClone
in class ContinuousFunction
Object.clone()
public Object getMinimum()
0.0
.
getMinimum
in class ContinuousFunction
public double evaluate(Vector x)
Vector
as input.
evaluate
in class ContinuousFunction
x
- The input Vector
.
public Vector getGradient(Vector x)
Vector
for the provided input Vector
.
The gradient is, naturally, the derivative of the
Function
which implements this
interface.
getGradient
in interface Differentiable
x
- The provided input Vector
to calculate the derivative at.
Vector
containing
the gradient of the provided input.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |