be.ac.ulg.montefiore.run.totem.repository.genericheuristics.simulatedAnnealing.model
Class SAParameter
java.lang.Object
be.ac.ulg.montefiore.run.totem.repository.genericheuristics.simulatedAnnealing.model.SAParameter
public class SAParameter
- extends java.lang.Object
Contains the parameters of an instance of Simulated Annealing : T0, L, alpha, epsilon2, K2 and specify if the problem
is a minisation or maximisation problem.
Creation date: 18 nov. 2004 12:01:21
- Author:
- Simon Balon (balon@run.montefiore.ulg.ac.be)
Constructor Summary |
SAParameter(float T0,
int L,
float alpha,
float epsilon2,
int K2,
boolean minimise)
Contains the parameters of an GAinstance of Simulated Annealing |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SAParameter
public SAParameter(float T0,
int L,
float alpha,
float epsilon2,
int K2,
boolean minimise)
- Contains the parameters of an GAinstance of Simulated Annealing
- Parameters:
T0
- : Initial temperature (must be > 0)L
- : Size of the plateau (must be >= 1)alpha
- : Cooling factor (must be > 0 and < 1)epsilon2
- : Terminaison value, has to be exprimed in percent (the float value 5.2 corresponds to 5.2%)
(must be > 0 and <= 100)K2
- : Terminaison value (must be >=1)minimise
- : true if it is a minimisation problem and false if it is a maximisation problem
getT0
public float getT0()
getL
public int getL()
getAlpha
public float getAlpha()
getEpsilon2
public float getEpsilon2()
getK2
public int getK2()
getMinimise
public boolean getMinimise()
setT0
public void setT0(float t0)
setL
public void setL(int l)
setAlpha
public void setAlpha(float alpha)
setEpsilon2
public void setEpsilon2(float epsilon2)
setK2
public void setK2(int k2)
setMinimise
public void setMinimise(boolean minimise)
display
public void display()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2004-2007 Research Unit in Networking, All Rights Reserved.