Package pal.util

Interface AlgorithmCallback


  • public interface AlgorithmCallback
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Interface Description
      static class  AlgorithmCallback.Utils
      A Utility class that provides some simple implementations of AlgorithmCallback that can be used for manipulating callback results
    • 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