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 AnalystListenertotal - The total number of commands.current - The current command.message - The message.public void reportCommandBegin(int total,
int current,
String name)
reportCommandBegin in interface AnalystListenertotal - The total parts.current - The current part.name - The name of that command.public void reportCommandEnd(boolean cancel)
reportCommandEnd in interface AnalystListenercancel - True if this command was canceled.public void reportTraining(MLTrain train)
reportTraining in interface AnalystListenertrain - The training object.public void reportTrainingBegin()
reportTrainingBegin in interface AnalystListenerpublic void reportTrainingEnd()
reportTrainingEnd in interface AnalystListenerpublic void requestCancelCommand()
requestCancelCommand in interface AnalystListenerpublic void requestShutdown()
requestShutdown in interface AnalystListenerpublic boolean shouldShutDown()
shouldShutDown in interface AnalystListenerpublic boolean shouldStopCommand()
shouldStopCommand in interface AnalystListenerCopyright © 2014. All Rights Reserved.