|
||||||||||
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.DiscreteFunction
public abstract class DiscreteFunction
Constructor Summary | |
---|---|
protected |
DiscreteFunction()
Create an instance of DiscreteFunction. |
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 output, given the function input, x . |
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 |
Methods inherited from interface net.sourceforge.cilib.util.Cloneable |
---|
getClone |
Constructor Detail |
---|
protected DiscreteFunction()
Method Detail |
---|
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)
x
.
x
- The Vector representing the function input.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |