|
||||||||||
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
public abstract class ContinuousFunction
Constructor Summary | |
---|---|
ContinuousFunction()
Create an instance of ContinuousFunction . |
|
ContinuousFunction(ContinuousFunction copy)
Copy constructor. |
Method Summary | |
---|---|
Double |
evaluate(Type x)
Each function must provide an implementation which returns the function value at the given position. |
abstract double |
evaluate(Vector x)
Evaluate the function with the given Vector as input. |
abstract ContinuousFunction |
getClone()
Create a cloned copy of the current object and return it. |
Object |
getMaximum()
Accessor for the function maximum. |
Object |
getMinimum()
Accessor for the function minimum. |
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 ContinuousFunction()
ContinuousFunction
.
public ContinuousFunction(ContinuousFunction copy)
copy
- The instance to copy.Method Detail |
---|
public abstract ContinuousFunction getClone()
Object.clone()
public Object getMinimum()
getMinimum
in class Function
public Object getMaximum()
getMaximum
in class Function
public Double evaluate(Type x)
evaluate
in class Function
x
- the position
public abstract double evaluate(Vector x)
Vector
as input.
x
- The input Vector
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |