net.sourceforge.cilib.functions.continuous.unconstrained
Class Branin

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

public class Branin
extends ContinuousFunction
implements Serializable

Booth Function

Reference: X. Yao, Y. Liu, G. Liu, Evolutionary Programming Made Faster, IEEE Transactions on Evolutionary Computation, 3(1):82--102, 1999

Minimum:

Characteristics:

Author:
Clive Naicker
See Also:
Serialized Form

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

Branin

public Branin()
Create a new instance of Branin. Domain defaults to: R(-5,10),R(0,15)

Method Detail

getClone

public Branin 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()
Accessor for the function minimum. This is the minimum value of the function in the given domain. The minimum is located at 0.397887.

Overrides:
getMinimum in class ContinuousFunction
Returns:
The minimum function value.

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.