Class Progress

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected int iteration  
      protected java.lang.Integer maxIterations  
    • Constructor Summary

      Constructors 
      Constructor Description
      Progress()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Double get()
      Returns the progress value between 0 and 1.
      int getCurrentIteration()
      Returns the current iteration.
      java.lang.Integer getMaxIterations()
      Returns the number of maximal iterations.
      void iterationComplete​(int iteration)
      Invoked if the Optimizer completes an iteration.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • maxIterations

        @Inject(optional=true)
        protected java.lang.Integer maxIterations
      • iteration

        protected int iteration
    • Constructor Detail

      • Progress

        public Progress()
    • Method Detail

      • get

        public java.lang.Double get()
        Returns the progress value between 0 and 1.
        Returns:
        the progress value
      • getMaxIterations

        public java.lang.Integer getMaxIterations()
        Returns the number of maximal iterations.
        Returns:
        the number of maximal iteration
      • getCurrentIteration

        public int getCurrentIteration()
        Returns the current iteration.
        Returns:
        the current iteration