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, algorithmStarted
clone
public 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)
IterativeAlgorithmListener
stepStarted
in interface IterativeAlgorithmListener
stepStarted
in class AbstractIterativeAlgorithmListener
algorithm
- The algorithm that has started another step of its execution.public void stepEnded(IterativeAlgorithm algorithm)
IterativeAlgorithmListener
stepEnded
in interface IterativeAlgorithmListener
stepEnded
in class AbstractIterativeAlgorithmListener
algorithm
- The algorithm that has ended another step of its execution.