public static class ProbabilisticLatentSemanticAnalysis.StatusPrinter extends AbstractIterativeAlgorithmListener
| Modifier and Type | Field and Description |
|---|---|
protected java.io.PrintStream |
out
The stream to write the status to.
|
| Constructor and Description |
|---|
StatusPrinter()
Creates a new
StatusPrinter writing to System.out. |
StatusPrinter(java.io.PrintStream out)
Creates a new
StatusPrinter writing to the given stream. |
| Modifier and Type | Method and Description |
|---|---|
void |
stepEnded(IterativeAlgorithm algorithm)
This method is called when the algorithm has ended a step of its
execution.
|
void |
stepStarted(IterativeAlgorithm algorithm)
This method is called when the algorithm has started a step in its
execution.
|
algorithmEnded, algorithmStartedclonepublic StatusPrinter()
StatusPrinter writing to System.out.public StatusPrinter(java.io.PrintStream out)
StatusPrinter writing to the given stream.out - The print stream to write status to.public void stepStarted(IterativeAlgorithm algorithm)
IterativeAlgorithmListenerstepStarted in interface IterativeAlgorithmListenerstepStarted in class AbstractIterativeAlgorithmListeneralgorithm - The algorithm that has started another step of its execution.public void stepEnded(IterativeAlgorithm algorithm)
IterativeAlgorithmListenerstepEnded in interface IterativeAlgorithmListenerstepEnded in class AbstractIterativeAlgorithmListeneralgorithm - The algorithm that has ended another step of its execution.