|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object databionics.esom.cooling.Cooling databionics.esom.cooling.CachedCooling databionics.esom.cooling.LinearCooling
public class LinearCooling
Linear cooling of a parameter.
Field Summary | |
---|---|
protected double |
diff
difference between succesive y values |
protected static org.apache.log4j.Logger |
log
interface to log4j system |
Fields inherited from class databionics.esom.cooling.CachedCooling |
---|
cache, offset |
Fields inherited from class databionics.esom.cooling.Cooling |
---|
end, start, steps |
Constructor Summary | |
---|---|
LinearCooling(double start,
int steps,
double end)
Create a new linear cooling object |
Method Summary | |
---|---|
protected double |
calculate(int step)
Calculate the parameter value for this step. |
protected void |
init()
Initialize constants and the cache. |
Methods inherited from class databionics.esom.cooling.CachedCooling |
---|
fillCache, get |
Methods inherited from class databionics.esom.cooling.Cooling |
---|
getAsInt |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final org.apache.log4j.Logger log
protected double diff
Constructor Detail |
---|
public LinearCooling(double start, int steps, double end)
start
- Initial value of the parametersteps
- Steps towards the final value of the parameterend
- Final value of the parameterMethod Detail |
---|
protected void init()
init
in class CachedCooling
offset
- protected double calculate(int step)
calculate
in class Cooling
step
- current step ([0..steps-1])
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |