net.sourceforge.cilib.functions.continuous
Class MaximumDeratingFunction1

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

public class MaximumDeratingFunction1
extends ContinuousFunction

See Also:
Serialized Form

Constructor Summary
MaximumDeratingFunction1()
          Create an instance of the function.
 
Method Summary
 double evaluate(Vector parm1)
          Evaluate the function with the given Vector as input.
 double getAlpha()
          Get the value of alpha.
 MaximumDeratingFunction1 getClone()
          Create a cloned copy of the current object and return it.
 Object getMinimum()
          Accessor for the function minimum.
 double getRadius()
          Get the value of the radius.
 void setAlpha(double alpha)
          Set the value of alpha.
 void setRadius(double radius)
          Set the value of the radius.
 
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

MaximumDeratingFunction1

public MaximumDeratingFunction1()
Create an instance of the function. Defualt domain is R^1.

Method Detail

getClone

public MaximumDeratingFunction1 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.

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

setRadius

public void setRadius(double radius)
Set the value of the radius.

Parameters:
radius - The value to set.

getRadius

public double getRadius()
Get the value of the radius.

Returns:
The value of the radius.

setAlpha

public void setAlpha(double alpha)
Set the value of alpha.

Parameters:
alpha - The value to set.

getAlpha

public double getAlpha()
Get the value of alpha.

Returns:
The value of alpha.

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.