|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.encog.app.analyst.ConsoleAnalystListener
public class ConsoleAnalystListener
A console implementation of the Encog Analyst listener. Will report all progress to the console.
| Constructor Summary | |
|---|---|
ConsoleAnalystListener()
|
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConsoleAnalystListener()
| Method Detail |
|---|
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 AnalystListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||