|
||||||||||
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.ContinuousStep
public class ContinuousStep
The continuous Step function. It is the same as the normal step function, however, it is continuous and not discrete.
The default domain of the function is defined to be R(-100.0, 100.0)^30
Constructor Summary | |
---|---|
ContinuousStep()
Creates a new instance of Step. |
Method Summary | |
---|---|
double |
evaluate(Vector x)
Evaluate the function with the given Vector as input. |
ContinuousStep |
getClone()
Create a cloned copy of the current object and return it. |
Object |
getMaximum()
Get the defined maximum of the Function. |
Object |
getMinimum()
Get the defined minimum of the Function. |
Methods inherited from class net.sourceforge.cilib.functions.ContinuousFunction |
---|
evaluate |
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 ContinuousStep()
Method Detail |
---|
public ContinuousStep getClone()
getClone
in interface Cloneable
getClone
in class ContinuousFunction
Object.clone()
public Object getMinimum()
getMinimum
in class ContinuousFunction
Object
containing the value 0.0.public Object getMaximum()
getMaximum
in class ContinuousFunction
Object
containing the value 55.0.public double evaluate(Vector x)
Vector
as input.
evaluate
in class ContinuousFunction
x
- The input Vector
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |