net.sourceforge.cilib.controlparameter
Class ExponentiallyIncreasingControlParameter

java.lang.Object
  extended by net.sourceforge.cilib.controlparameter.BoundedControlParameter
      extended by net.sourceforge.cilib.controlparameter.ExponentiallyIncreasingControlParameter
All Implemented Interfaces:
Serializable, ControlParameter, Cloneable

public class ExponentiallyIncreasingControlParameter
extends BoundedControlParameter

A control parameter that is defined to update itself in an exponentially increasing manner. The rate of change within the parameter is based on the percentage complete of the running algorithm.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class net.sourceforge.cilib.controlparameter.BoundedControlParameter
parameter, range
 
Constructor Summary
ExponentiallyIncreasingControlParameter()
          Create a new instance of ExponentiallyIncreasingControlParameter.
ExponentiallyIncreasingControlParameter(ExponentiallyIncreasingControlParameter copy)
          Copy constructor.
 
Method Summary
 ExponentiallyIncreasingControlParameter getClone()
          Clone the current object such that a comparison of the clone and original object will yield two separate, but duplicate objects.
 void setLowerBound(double lower)
          Set the value of the lower bound.
 void update()
          Update the paramter.
 
Methods inherited from class net.sourceforge.cilib.controlparameter.BoundedControlParameter
clamp, getLowerBound, getParameter, getParameter, getRange, getUpperBound, setParameter, setRange, setUpperBound, updateParameter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExponentiallyIncreasingControlParameter

public ExponentiallyIncreasingControlParameter()
Create a new instance of ExponentiallyIncreasingControlParameter.


ExponentiallyIncreasingControlParameter

public ExponentiallyIncreasingControlParameter(ExponentiallyIncreasingControlParameter copy)
Copy constructor. Create a copy of the given instance.

Parameters:
copy - The instance to copy.
Method Detail

getClone

public ExponentiallyIncreasingControlParameter getClone()
Clone the current object such that a comparison of the clone and original object will yield two separate, but duplicate objects.

Specified by:
getClone in interface ControlParameter
Specified by:
getClone in interface Cloneable
Specified by:
getClone in class BoundedControlParameter
Returns:
The cloned ControlParameter
See Also:
Object.clone()

update

public void update()
Update the paramter.

Specified by:
update in class BoundedControlParameter

setLowerBound

public void setLowerBound(double lower)
Set the value of the lower bound.

Overrides:
setLowerBound in class BoundedControlParameter
Parameters:
lower - The value to set.


Copyright © 2009 CIRG. All Rights Reserved.