|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.inject.AbstractModule
org.opt4j.core.start.Opt4JModule
org.opt4j.core.common.logger.OutputModule
org.opt4j.core.common.logger.LoggerModule
public class LoggerModule
Module for logging.
Logger| Field Summary | |
|---|---|
protected int |
evaluationStep
|
protected java.lang.String |
filename
|
protected int |
iterationStep
|
protected boolean |
loggingPerEvaluation
|
protected boolean |
loggingPerIteration
|
| Fields inherited from class org.opt4j.core.start.Opt4JModule |
|---|
SINGLETON |
| Constructor Summary | |
|---|---|
LoggerModule()
|
|
| Method Summary | |
|---|---|
void |
config()
Configure the module. |
int |
getEvaluationStep()
Returns the step size of the evaluations. |
java.lang.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(java.lang.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. |
| Methods inherited from class org.opt4j.core.start.Opt4JModule |
|---|
addControlListener, addIndividualStateListener, addOptimizerIterationListener, addOptimizerStateListener, bindConstant, bindConstant, bindConstant, bindConstant, configure, constant, multi |
| Methods inherited from class com.google.inject.AbstractModule |
|---|
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String filename
protected boolean loggingPerEvaluation
protected boolean loggingPerIteration
protected int evaluationStep
protected int iterationStep
| Constructor Detail |
|---|
public LoggerModule()
| Method Detail |
|---|
public void config()
Opt4JModule
config in class Opt4JModuleBinderpublic java.lang.String getFilename()
setFilename(java.lang.String)public void setFilename(java.lang.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
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||