pal.util
Interface AlgorithmCallback


public interface AlgorithmCallback


Nested Class Summary
static class AlgorithmCallback.Utils
          A Utility class that provides some simple implementations of AlgorithmCallback that can be used for manipulating callback results
 
Method Summary
 void clearProgress()
           
 boolean isPleaseStop()
          Should be called intermittedly to check if algorithm should stop (should return null if has output)
 void updateProgress(double progress)
           
 void updateStatus(java.lang.String statusString)
          Inform caller of current status
 

Method Detail

isPleaseStop

boolean isPleaseStop()
Should be called intermittedly to check if algorithm should stop (should return null if has output)


updateProgress

void updateProgress(double progress)
Parameters:
progress - between 0..1

clearProgress

void clearProgress()

updateStatus

void updateStatus(java.lang.String statusString)
Inform caller of current status