com.speckled.specksim.datagen
Interface ProgressListener

All Known Implementing Classes:
DataGenerator

public interface ProgressListener

Interface for objects interested in the progress of a Generator thread

Author:
ryanm

Method Summary
 void pointProgress(float progress)
          Called to indicate progress on the next data point
 void repetitionProgress(float progress)
          Called to indicate progress on the current repetition of the generation
 void runEnded()
          Called to indicate that the run has ended
 void runProgress(float progress)
          Called to indicate progress on the current run.
 void runStarted()
          Called to indicate that the run has started
 void writingFile()
          Called to indicate that the output file is being written
 

Method Detail

pointProgress

void pointProgress(float progress)
Called to indicate progress on the next data point

Parameters:
progress - The progress so far. 0 = no progress, 1 = finished

repetitionProgress

void repetitionProgress(float progress)
Called to indicate progress on the current repetition of the generation

Parameters:
progress - The progress so far. 0 = no points completed, 1 = all points completed

runProgress

void runProgress(float progress)
Called to indicate progress on the current run.

Parameters:
progress - The progress so far. 0 = no progress, 1 = all repetitions completed

runStarted

void runStarted()
Called to indicate that the run has started


runEnded

void runEnded()
Called to indicate that the run has ended


writingFile

void writingFile()
Called to indicate that the output file is being written