org.encog.app.analyst
public class ConsoleAnalystListener extends Object implements AnalystListener
Constructor and Description |
---|
ConsoleAnalystListener() |
Modifier and Type | Method and Description |
---|---|
void |
report(int total,
int current,
String message)
Report progress on a task.
|
void |
reportCommandBegin(int total,
int current,
String name)
Report that a command has begun.
|
void |
reportCommandEnd(boolean cancel)
Report that a command has ended.
|
void |
reportTraining(MLTrain train)
Report progress on training.
|
void |
reportTrainingBegin()
Report that training has begun.
|
void |
reportTrainingEnd()
Report that training has ended.
|
void |
requestCancelCommand()
Request to cancel current command.
|
void |
requestShutdown()
Request stop the entire process.
|
boolean |
shouldShutDown() |
boolean |
shouldStopCommand() |
public void report(int total, int current, String message)
report
in interface AnalystListener
total
- The total number of commands.current
- The current command.message
- The message.public void reportCommandBegin(int total, int current, String name)
reportCommandBegin
in interface AnalystListener
total
- The total parts.current
- The current part.name
- The name of that command.public void reportCommandEnd(boolean cancel)
reportCommandEnd
in interface AnalystListener
cancel
- True if this command was canceled.public void reportTraining(MLTrain train)
reportTraining
in interface AnalystListener
train
- The training object.public void reportTrainingBegin()
reportTrainingBegin
in interface AnalystListener
public void reportTrainingEnd()
reportTrainingEnd
in interface AnalystListener
public void requestCancelCommand()
requestCancelCommand
in interface AnalystListener
public void requestShutdown()
requestShutdown
in interface AnalystListener
public boolean shouldShutDown()
shouldShutDown
in interface AnalystListener
public boolean shouldStopCommand()
shouldStopCommand
in interface AnalystListener
Copyright © 2014. All Rights Reserved.