net.sourceforge.cilib.functions.continuous
Class Shir

java.lang.Object
  extended by net.sourceforge.cilib.functions.Function
      extended by net.sourceforge.cilib.functions.ContinuousFunction
          extended by net.sourceforge.cilib.functions.continuous.Shir
All Implemented Interfaces:
Serializable, Cloneable

public class Shir
extends ContinuousFunction

The Damavandi function obtained from O.M. Shir and T. Baeck, "Dynamic Niching in Evolution Strategies with Covariance Matrix Adaptation" Global Maximin: f(x1,...,xn) = 1 Characteristics:

Author:
Andries Engelbrecht
See Also:
Serialized Form

Constructor Summary
Shir()
          Create an instance of the function.
 
Method Summary
 double evaluate(Vector x)
          Evaluate the function with the given Vector as input.
 Shir getClone()
          Create a cloned copy of the current object and return it.
 Object getMaximum()
          Accessor for the function maximum.
 
Methods inherited from class net.sourceforge.cilib.functions.ContinuousFunction
evaluate, getMinimum
 
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

Shir

public Shir()
Create an instance of the function. The domain is set to "R(0, 1)^30" by default.

Method Detail

getClone

public Shir 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()

getMaximum

public Object getMaximum()
Accessor for the function maximum. This is the maximum value of the function in the given domain.

Overrides:
getMaximum in class ContinuousFunction
Returns:
The maximum of the function.

evaluate

public double evaluate(Vector x)
Evaluate the function with the given Vector as input.

Specified by:
evaluate in class ContinuousFunction
Parameters:
x - The input Vector.
Returns:
The value of the evaluation.


Copyright © 2009 CIRG. All Rights Reserved.