net.sourceforge.cilib.functions.continuous
Class MultimodalFunction2
java.lang.Object
net.sourceforge.cilib.functions.Function
net.sourceforge.cilib.functions.ContinuousFunction
net.sourceforge.cilib.functions.continuous.MultimodalFunction2
- All Implemented Interfaces:
- Serializable, Cloneable
public class MultimodalFunction2
- extends ContinuousFunction
- Author:
- gpampara
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MultimodalFunction2
public MultimodalFunction2()
- Create a new instance of MultimodalFunction2.
getClone
public MultimodalFunction2 getClone()
- Create a cloned copy of the current object and return it. In general
the created copy will be a deep copy of the provided instance. As
a result this operation an be quite expensive if used incorrectly.
- Specified by:
getClone
in interface Cloneable
- Specified by:
getClone
in class ContinuousFunction
- Returns:
- An exact clone of the current object instance.
- See Also:
Object.clone()
getMinimum
public Object getMinimum()
- Get the minimum of the function. It is defined to be a value of
0.0
.
- Overrides:
getMinimum
in class ContinuousFunction
- Returns:
- The function minimum value.
evaluate
public double evaluate(Vector parm1)
- Evaluate the function with the given
Vector
as input.
- Specified by:
evaluate
in class ContinuousFunction
- Parameters:
parm1
- The input Vector
.
- Returns:
- The value of the evaluation.
Copyright © 2009 CIRG. All Rights Reserved.