|
||||||||||
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 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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |