|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.cilib.controlparameter.BoundedControlParameter net.sourceforge.cilib.controlparameter.LinearIncreasingControlParameter
public class LinearIncreasingControlParameter
A control parameter that is defined to update itself in an linearly increasing manner. The rate of change within the parameter is based on the percentage complete of the running algorithm.
Field Summary |
---|
Fields inherited from class net.sourceforge.cilib.controlparameter.BoundedControlParameter |
---|
parameter, range |
Constructor Summary | |
---|---|
LinearIncreasingControlParameter()
Create an instance of LinearDecreasingControlParameter . |
|
LinearIncreasingControlParameter(LinearIncreasingControlParameter copy)
Copy constructor. |
Method Summary | |
---|---|
LinearIncreasingControlParameter |
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 parameter linearly based on the current percentage complete of the running algorithm. |
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 |
---|
public LinearIncreasingControlParameter()
LinearDecreasingControlParameter
.
public LinearIncreasingControlParameter(LinearIncreasingControlParameter copy)
copy
- The instance to copy.Method Detail |
---|
public LinearIncreasingControlParameter getClone()
getClone
in interface ControlParameter
getClone
in interface Cloneable
getClone
in class BoundedControlParameter
Object.clone()
public void update()
update
in class BoundedControlParameter
public void setLowerBound(double lower)
setLowerBound
in class BoundedControlParameter
lower
- The value to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |