public class CoolingSchedulesModule extends CoolingScheduleModule
CoolingSchedules for the
SimulatedAnnealing.| Modifier and Type | Class and Description |
|---|---|
static class |
CoolingSchedulesModule.Type
Type of
CoolingSchedule to use. |
SINGLETON| Constructor and Description |
|---|
CoolingSchedulesModule()
Constructs a
CoolingSchedulesModule. |
| Modifier and Type | Method and Description |
|---|---|
void |
config()
Configure the module.
|
double |
getAlpha()
Returns the alpha value.
|
double |
getFinalTemperature()
Returns the final temperature.
|
double |
getInitialTemperature()
Returns the initial temperature.
|
CoolingSchedulesModule.Type |
getType()
Returns the type of cooling schedule.
|
void |
setAlpha(double alpha)
Sets the alpha value.
|
void |
setFinalTemperature(double finalTemperature)
Sets the final temperature.
|
void |
setInitialTemperature(double initialTemperature)
Sets the initial temperature.
|
void |
setType(CoolingSchedulesModule.Type type)
Sets the type of cooling schedule.
|
addControlListener, addIndividualStateListener, addOptimizerIterationListener, addOptimizerStateListener, constant, multipublic CoolingSchedulesModule()
CoolingSchedulesModule.public double getFinalTemperature()
setFinalTemperature(double)public void setFinalTemperature(double finalTemperature)
finalTemperature - the final temperaturegetFinalTemperature()public double getInitialTemperature()
setInitialTemperature(double)public void setInitialTemperature(double initialTemperature)
initialTemperature - the initial temperaturegetInitialTemperature()public CoolingSchedulesModule.Type getType()
setType(org.opt4j.optimizer.sa.CoolingSchedulesModule.Type)public void setType(CoolingSchedulesModule.Type type)
type - the type of cooling schedulegetType()public double getAlpha()
setAlpha(double)public void setAlpha(double alpha)
alpha - the alpha valuegetAlpha()public void config()
Opt4JModuleBinder