public class LoggerModule extends VisualizationModule
LoggerSINGLETON| Constructor and Description |
|---|
LoggerModule() |
| Modifier and Type | Method and Description |
|---|---|
void |
config()
Configure the module.
|
int |
getEvaluationStep()
Returns the step size of the evaluations.
|
String |
getFilename()
Returns the filename.
|
int |
getIterationStep()
Returns the step size of the iterations.
|
boolean |
isLoggingPerEvaluation()
Returns
true if the logger observes the number of evaluations. |
boolean |
isLoggingPerIteration()
Returns
true if the logger observes the number of iterations. |
void |
setEvaluationStep(int evaluationStep)
Sets the step size of the evaluations.
|
void |
setFilename(String filename)
Sets the filename.
|
void |
setIterationStep(int iterationStep)
Sets the step size of the iterations.
|
void |
setLoggingPerEvaluation(boolean loggingPerEvaluation)
Sets the observation for the number of evaluations.
|
void |
setLoggingPerIteration(boolean loggingPerIteration)
Sets the observation for the number of iterations.
|
addIndividualMouseListeneraddControlListener, addIndividualStateListener, addOptimizerIterationListener, addOptimizerStateListener, constant, multipublic void config()
Opt4JModuleBinderpublic String getFilename()
setFilename(java.lang.String)public void setFilename(String filename)
filename - the filenamegetFilename()public int getEvaluationStep()
setEvaluationStep(int)public void setEvaluationStep(int evaluationStep)
evaluationStep - the step size of the evaluationsgetEvaluationStep()public int getIterationStep()
setIterationStep(int)public void setIterationStep(int iterationStep)
iterationStep - the step size of the iterationsgetIterationStep()public boolean isLoggingPerEvaluation()
true if the logger observes the number of evaluations.true if the logger observes the number of evaluationspublic void setLoggingPerEvaluation(boolean loggingPerEvaluation)
loggingPerEvaluation - true if the logger observes the number of evaluationspublic boolean isLoggingPerIteration()
true if the logger observes the number of iterations.true if the logger observes the number of iterationspublic void setLoggingPerIteration(boolean loggingPerIteration)
loggingPerIteration - true if the logger observes the number of iterations