|
||||||||||
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.CenterCooling
public class CenterCooling
Linear cooling of a parameter centered between constant non cooling periods in the first and last 1/5th of the steps
Field Summary | |
---|---|
protected double |
diff
difference between succesive y values |
protected int |
left
start of linear cooling |
protected static org.apache.log4j.Logger |
log
interface to log4j system |
protected int |
right
end of linear cooling |
Fields inherited from class databionics.esom.cooling.CachedCooling |
---|
cache, offset |
Fields inherited from class databionics.esom.cooling.Cooling |
---|
end, start, steps |
Constructor Summary | |
---|---|
CenterCooling(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 the 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
protected int left
protected int right
Constructor Detail |
---|
public CenterCooling(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 |